[−][src]Struct evmap::Values
A bag of values for a given key in the evmap.
Methods
impl<T, S> Values<T, S>
[src]
pub fn len(&self) -> usize
[src]
Returns the number of values.
pub fn is_empty(&self) -> bool
[src]
Returns true if the bag holds no values.
pub fn capacity(&self) -> usize
[src]
Returns the number of values that can be held without reallocating.
pub fn iter(&self) -> ValuesIter<T, S>
[src]
An iterator visiting all elements in arbitrary order.
The iterator element type is &'a T.
pub fn contains<Q: ?Sized>(&self, value: &Q) -> bool where
T: Borrow<Q>,
Q: Eq + Hash,
T: Eq + Hash,
S: BuildHasher,
[src]
T: Borrow<Q>,
Q: Eq + Hash,
T: Eq + Hash,
S: BuildHasher,
Trait Implementations
impl<T, S> Debug for Values<T, S> where
T: Debug,
S: BuildHasher,
[src]
T: Debug,
S: BuildHasher,
impl<'a, T, S> IntoIterator for &'a Values<T, S>
[src]
Auto Trait Implementations
impl<T, S> RefUnwindSafe for Values<T, S> where
S: RefUnwindSafe,
T: RefUnwindSafe,
S: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, S> Send for Values<T, S> where
S: Send,
T: Send,
S: Send,
T: Send,
impl<T, S> Sync for Values<T, S> where
S: Sync,
T: Sync,
S: Sync,
T: Sync,
impl<T, S> Unpin for Values<T, S> where
S: Unpin,
T: Unpin,
S: Unpin,
T: Unpin,
impl<T, S> UnwindSafe for Values<T, S> where
S: UnwindSafe,
T: RefUnwindSafe + UnwindSafe,
S: UnwindSafe,
T: RefUnwindSafe + 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, 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>,