Struct argmin::core::ArgminKV [−][src]
Expand description
A simple key-value storage
Fields
kv: Vec<(&'static str, String)>
The actual key value storage
Implementations
impl ArgminKV
[src]
impl ArgminKV
[src]Trait Implementations
impl Deserialize<'static> for ArgminKV
[src]
impl Deserialize<'static> for ArgminKV
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'static>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'static>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl Extend<(&'static str, String)> for ArgminKV
[src]
impl Extend<(&'static str, String)> for ArgminKV
[src]fn extend<I: IntoIterator<Item = (&'static str, String)>>(&mut self, iter: I)
[src]
fn extend<I: IntoIterator<Item = (&'static str, String)>>(&mut self, iter: I)
[src]Extends a collection with the contents of an iterator. Read more
fn extend_one(&mut self, item: A)
[src]
fn extend_one(&mut self, item: A)
[src]extend_one
)Extends a collection with exactly one element.
fn extend_reserve(&mut self, additional: usize)
[src]
fn extend_reserve(&mut self, additional: usize)
[src]extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
impl<'a> From<&'a ArgminKV> for ArgminSlogKV
[src]
impl<'a> From<&'a ArgminKV> for ArgminSlogKV
[src]fn from(i: &'a ArgminKV) -> ArgminSlogKV
[src]
fn from(i: &'a ArgminKV) -> ArgminSlogKV
[src]Performs the conversion.
impl Ord for ArgminKV
[src]
impl Ord for ArgminKV
[src]impl PartialOrd<ArgminKV> for ArgminKV
[src]
impl PartialOrd<ArgminKV> for ArgminKV
[src]fn partial_cmp(&self, other: &ArgminKV) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &ArgminKV) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Eq for ArgminKV
[src]
impl StructuralEq for ArgminKV
[src]
impl StructuralPartialEq for ArgminKV
[src]
Auto Trait Implementations
impl RefUnwindSafe for ArgminKV
impl Send for ArgminKV
impl Sync for ArgminKV
impl Unpin for ArgminKV
impl UnwindSafe for ArgminKV
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,