pub struct PrimitiveRuntimeKeyPolicy;Expand description
A small reusable key policy for languages that accept primitive keys and object identity.
Trait Implementations§
Source§impl Clone for PrimitiveRuntimeKeyPolicy
impl Clone for PrimitiveRuntimeKeyPolicy
Source§fn clone(&self) -> PrimitiveRuntimeKeyPolicy
fn clone(&self) -> PrimitiveRuntimeKeyPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PrimitiveRuntimeKeyPolicy
Source§impl Debug for PrimitiveRuntimeKeyPolicy
impl Debug for PrimitiveRuntimeKeyPolicy
Source§impl Default for PrimitiveRuntimeKeyPolicy
impl Default for PrimitiveRuntimeKeyPolicy
Source§fn default() -> PrimitiveRuntimeKeyPolicy
fn default() -> PrimitiveRuntimeKeyPolicy
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PrimitiveRuntimeKeyPolicy
impl RefUnwindSafe for PrimitiveRuntimeKeyPolicy
impl Send for PrimitiveRuntimeKeyPolicy
impl Sync for PrimitiveRuntimeKeyPolicy
impl Unpin for PrimitiveRuntimeKeyPolicy
impl UnsafeUnpin for PrimitiveRuntimeKeyPolicy
impl UnwindSafe for PrimitiveRuntimeKeyPolicy
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