pub struct StaticKey { /* private fields */ }Expand description
A key that always returns a static value.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StaticKey
impl RefUnwindSafe for StaticKey
impl Send for StaticKey
impl Sync for StaticKey
impl Unpin for StaticKey
impl UnwindSafe for StaticKey
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