Struct argmin::core::ArgminKV [−][src]
Expand description
A simple key-value storage
Fields
kv: Vec<(&'static str, String)>
The actual key value storage
Implementations
Push a key-value pair to the kv
vector.
This formats the val
using format!
. Therefore T
has to implement Display
.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'static>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'static>,
Deserialize this value from the given Serde deserializer. Read more
Extends a collection with the contents of an iterator. Read more
extend_one
)Extends a collection with exactly one element.
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ArgminKV
impl UnwindSafe for ArgminKV
Blanket Implementations
Mutably borrows from an owned value. Read more