[−][src]Struct libimagutil::key_value_split::KeyValue
Methods
impl<K, V> KeyValue<K, V>
[src]
pub fn new(k: K, v: V) -> KeyValue<K, V>
[src]
pub fn key(&self) -> &K
[src]
pub fn value(&self) -> &V
[src]
Trait Implementations
impl<K: Clone, V: Clone> Clone for KeyValue<K, V>
[src]
impl<K: Copy, V: Copy> Copy for KeyValue<K, V>
[src]
impl<K: Debug, V: Debug> Debug for KeyValue<K, V>
[src]
impl<K, V> Into<(K, V)> for KeyValue<K, V>
[src]
impl<K: PartialEq, V: PartialEq> PartialEq<KeyValue<K, V>> for KeyValue<K, V>
[src]
impl<K, V> StructuralPartialEq for KeyValue<K, V>
[src]
Auto Trait Implementations
impl<K, V> RefUnwindSafe for KeyValue<K, V> where
K: RefUnwindSafe,
V: RefUnwindSafe,
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for KeyValue<K, V> where
K: Send,
V: Send,
K: Send,
V: Send,
impl<K, V> Sync for KeyValue<K, V> where
K: Sync,
V: Sync,
K: Sync,
V: Sync,
impl<K, V> Unpin for KeyValue<K, V> where
K: Unpin,
V: Unpin,
K: Unpin,
V: Unpin,
impl<K, V> UnwindSafe for KeyValue<K, V> where
K: UnwindSafe,
V: UnwindSafe,
K: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,