pub struct IdentitySlot { /* private fields */ }Expand description
Storage for one identity key path pattern.
Six words and no components — \T.self is not a property access, it is the
absence of one, and the header says so by declaring zero bytes of components.
Implementations§
Source§impl IdentitySlot
impl IdentitySlot
Sourcepub const fn new() -> Self
pub const fn new() -> Self
An empty slot, to be filled by build_identity.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IdentitySlot
impl RefUnwindSafe for IdentitySlot
impl Send for IdentitySlot
impl Sync for IdentitySlot
impl Unpin for IdentitySlot
impl UnsafeUnpin for IdentitySlot
impl UnwindSafe for IdentitySlot
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