pub struct Standard<E> { /* private fields */ }Implementations§
Source§impl<E: Clone + Eq + Hash> Standard<E>
impl<E: Clone + Eq + Hash> Standard<E>
pub fn new() -> Self
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn get(&self, value: &E) -> Option<&E>
pub fn contains(&self, value: &E) -> bool
pub fn conj_value(&self, value: E) -> Self
pub fn dissoc_value(&self, value: &E) -> Self
pub fn iter(&self) -> impl Iterator<Item = &E>
Trait Implementations§
Source§impl<E: Clone + Eq + Hash> FromIterator<E> for Standard<E>
impl<E: Clone + Eq + Hash> FromIterator<E> for Standard<E>
Source§fn from_iter<T: IntoIterator<Item = E>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = E>>(iter: T) -> Self
Creates a value from an iterator. Read more
impl<E: Clone + Eq + Hash> IPersistent for Standard<E>
Auto Trait Implementations§
impl<E> !RefUnwindSafe for Standard<E>
impl<E> !Send for Standard<E>
impl<E> !Sync for Standard<E>
impl<E> !UnwindSafe for Standard<E>
impl<E> Freeze for Standard<E>
impl<E> Unpin for Standard<E>
impl<E> UnsafeUnpin for Standard<E>where
Standard<E, E>: UnsafeUnpin,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CheckedSum<usize> for Twhere
T: IntoIterator<Item = usize>,
impl<T> CheckedSum<usize> for Twhere
T: IntoIterator<Item = usize>,
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more