pub struct LayerRef<'a, L: LayoutBase + ?Sized> {
pub(super) base: &'a L,
pub(super) id: L::LayerId,
}
Expand description
Reference to a layer.
Fields
base: &'a L
Reference to the parent data structure.
id: L::LayerId
ID of the layer.
Implementations
Auto Trait Implementations
impl<'a, L: ?Sized> RefUnwindSafe for LayerRef<'a, L> where
L: RefUnwindSafe,
<L as LayoutBase>::LayerId: RefUnwindSafe,
impl<'a, L: ?Sized> Send for LayerRef<'a, L> where
L: Sync,
<L as LayoutBase>::LayerId: Send,
impl<'a, L: ?Sized> Sync for LayerRef<'a, L> where
L: Sync,
<L as LayoutBase>::LayerId: Sync,
impl<'a, L: ?Sized> Unpin for LayerRef<'a, L> where
<L as LayoutBase>::LayerId: Unpin,
impl<'a, L: ?Sized> UnwindSafe for LayerRef<'a, L> where
L: RefUnwindSafe,
<L as LayoutBase>::LayerId: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more