pub trait ObjectKeyTrait {
    // Required method
    fn key<'k>(&'k self) -> BorrowedKey<'k>;
}

Required Methods§

source

fn key<'k>(&'k self) -> BorrowedKey<'k>

Trait Implementations§

source§

impl<'a> Borrow<dyn ObjectKeyTrait + 'a> for Value

source§

fn borrow(&self) -> &(dyn ObjectKeyTrait + 'a)

Immutably borrows from an owned value. Read more
source§

impl<'a> Hash for dyn ObjectKeyTrait + 'a

source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> Ord for dyn ObjectKeyTrait + 'a

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl<'a> PartialEq for dyn ObjectKeyTrait + 'a

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a> PartialOrd for dyn ObjectKeyTrait + 'a

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl<'a> Eq for dyn ObjectKeyTrait + 'a

Implementors§