pub struct Standard<V> { /* private fields */ }Implementations§
Source§impl<V: Clone> Standard<V>
impl<V: Clone> Standard<V>
pub fn new() -> Self
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn get(&self, key: &str) -> Option<&V>
pub fn assoc_value(&self, key: impl Into<String>, value: V) -> Self
pub fn dissoc_value(&self, key: &str) -> Self
pub fn entries(&self) -> Vec<(String, &V)>
pub fn iter(&self) -> impl Iterator<Item = String> + '_
Trait Implementations§
impl<V: Clone> IPersistent for Standard<V>
Source§impl<V: Clone> IToMutable for Standard<V>
impl<V: Clone> IToMutable for Standard<V>
Auto Trait Implementations§
impl<V> !RefUnwindSafe for Standard<V>
impl<V> !Send for Standard<V>
impl<V> !Sync for Standard<V>
impl<V> !UnwindSafe for Standard<V>
impl<V> Freeze for Standard<V>
impl<V> Unpin for Standard<V>
impl<V> UnsafeUnpin for Standard<V>where
Rc<Node<V>>: 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> 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