pub struct ScopeKey(/* private fields */);
Trait Implementations§
Source§impl Key for ScopeKey
impl Key for ScopeKey
Source§fn null() -> Self
fn null() -> Self
Creates a new key that is always invalid and distinct from any non-null
key. A null key can only be created through this method (or default
initialization of keys made with
new_key_type!
, which calls this
method). Read moreSource§impl Ord for ScopeKey
impl Ord for ScopeKey
Source§impl PartialOrd for ScopeKey
impl PartialOrd for ScopeKey
impl Copy for ScopeKey
impl Eq for ScopeKey
impl StructuralPartialEq for ScopeKey
Auto Trait Implementations§
impl Freeze for ScopeKey
impl RefUnwindSafe for ScopeKey
impl Send for ScopeKey
impl Sync for ScopeKey
impl Unpin for ScopeKey
impl UnwindSafe for ScopeKey
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