[−][src]Struct linear_sim::object::Key
A VecMap
index
Methods
impl Key
[src][−]
pub const fn from_raw(key: KeyType) -> Self
[src][−]
⚠ Note: does not check against KEY_MAX
pub const fn value(&self) -> KeyType
[src]
pub const fn index(&self) -> usize
[src]
Trait Implementations
impl Eq for Key
[src]
impl PartialEq<Key> for Key
[src][+]
impl From<u32> for Key
[src][+]
impl From<usize> for Key
[src][+]
impl Clone for Key
[src][+]
impl Ord for Key
[src][+]
impl Copy for Key
[src]
impl PartialOrd<Key> for Key
[src][+]
impl Deref for Key
[src][+]
impl Debug for Key
[src][+]
Auto Trait Implementations
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self