Struct json_api::value::set::Set
[−]
[src]
pub struct Set { /* fields omitted */ }
Methods
impl Set[src]
fn new() -> Self[src]
fn with_capacity(capacity: usize) -> Self[src]
fn clear(&mut self)[src]
fn contains(&self, key: &str) -> bool[src]
fn drain(&mut self, range: RangeFull) -> Drain[src]
fn insert(&mut self, key: Key) -> bool[src]
fn is_empty(&self) -> bool[src]
fn iter(&self) -> Iter[src]
fn len(&self) -> usize[src]
fn remove(&mut self, key: &str) -> bool[src]
Trait Implementations
impl Clone for Set[src]
fn clone(&self) -> Set[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for Set[src]
impl Default for Set[src]
impl PartialEq for Set[src]
fn eq(&self, __arg_0: &Set) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Set) -> bool[src]
This method tests for !=.
impl Extend<Key> for Set[src]
fn extend<I>(&mut self, iter: I) where
I: IntoIterator<Item = Key>, [src]
I: IntoIterator<Item = Key>,
Extends a collection with the contents of an iterator. Read more
impl FromIterator<Key> for Set[src]
fn from_iter<I>(iter: I) -> Self where
I: IntoIterator<Item = Key>, [src]
I: IntoIterator<Item = Key>,
Creates a value from an iterator. Read more
impl IntoIterator for Set[src]
type Item = Key
The type of the elements being iterated over.
type IntoIter = IntoIter
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter[src]
Creates an iterator from a value. Read more
impl<'a> IntoIterator for &'a Set[src]
type Item = &'a Key
The type of the elements being iterated over.
type IntoIter = Iter<'a>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter[src]
Creates an iterator from a value. Read more
impl<'de> Deserialize<'de> for Set[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, [src]
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more