Trait ObjectKeyTrait

Source
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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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

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

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

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

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§