pub struct EditContextKey(/* private fields */);
Trait Implementations§
Source§impl Clone for EditContextKey
impl Clone for EditContextKey
Source§fn clone(&self) -> EditContextKey
fn clone(&self) -> EditContextKey
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EditContextKey
impl Debug for EditContextKey
Source§impl Default for EditContextKey
impl Default for EditContextKey
Source§fn default() -> EditContextKey
fn default() -> EditContextKey
Returns the “default value” for a type. Read more
Source§impl From<KeyData> for EditContextKey
impl From<KeyData> for EditContextKey
Source§impl Hash for EditContextKey
impl Hash for EditContextKey
Source§impl Key for EditContextKey
impl Key for EditContextKey
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 EditContextKey
impl Ord for EditContextKey
Source§fn cmp(&self, other: &EditContextKey) -> Ordering
fn cmp(&self, other: &EditContextKey) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EditContextKey
impl PartialEq for EditContextKey
Source§impl PartialOrd for EditContextKey
impl PartialOrd for EditContextKey
impl Copy for EditContextKey
impl Eq for EditContextKey
impl StructuralPartialEq for EditContextKey
Auto Trait Implementations§
impl Freeze for EditContextKey
impl RefUnwindSafe for EditContextKey
impl Send for EditContextKey
impl Sync for EditContextKey
impl Unpin for EditContextKey
impl UnwindSafe for EditContextKey
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