pub struct Chain<R: Resource> { /* private fields */ }
Expand description
This type corresponds to resource category. All resources from the same category must be accessed as permitted by links of the chain.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<R> Freeze for Chain<R>
impl<R> RefUnwindSafe for Chain<R>where
<R as Resource>::Access: RefUnwindSafe,
<R as Resource>::Usage: RefUnwindSafe,
<R as Resource>::Layout: RefUnwindSafe,
impl<R> Send for Chain<R>
impl<R> Sync for Chain<R>
impl<R> Unpin for Chain<R>
impl<R> UnwindSafe for Chain<R>where
<R as Resource>::Access: UnwindSafe,
<R as Resource>::Usage: UnwindSafe,
<R as Resource>::Layout: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)