pub struct LayerRef<'a> {
pub id: LayerId,
pub layer: &'a Layer,
}Expand description
One layer offered to the allocator.
Fields§
§id: LayerIdStable identity across frames.
layer: &'a LayerThe layer itself.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for LayerRef<'a>
impl<'a> !Send for LayerRef<'a>
impl<'a> !Sync for LayerRef<'a>
impl<'a> !UnwindSafe for LayerRef<'a>
impl<'a> Freeze for LayerRef<'a>
impl<'a> Unpin for LayerRef<'a>
impl<'a> UnsafeUnpin for LayerRef<'a>
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