pub struct TransientSet { /* private fields */ }Implementations§
Source§impl TransientSet
impl TransientSet
pub fn new() -> Self
pub fn new_from_set(set: &PersistentHashSet) -> TransientSet
pub fn conj(&self, value: Value) -> ValueResult<()>
pub fn disj(&self, value: &Value) -> ValueResult<()>
pub fn persistent(&self) -> ValueResult<PersistentHashSet>
pub fn count(&self) -> usize
Trait Implementations§
Source§impl ClojureHash for TransientSet
impl ClojureHash for TransientSet
fn clojure_hash(&self) -> u32
Source§impl Clone for TransientSet
impl Clone for TransientSet
Source§impl Debug for TransientSet
impl Debug for TransientSet
Source§impl Default for TransientSet
impl Default for TransientSet
Source§impl Trace for TransientSet
impl Trace for TransientSet
fn trace(&self, visitor: &mut MarkVisitor)
fn gc_size_extra(&self) -> usize
Auto Trait Implementations§
impl !Freeze for TransientSet
impl !Send for TransientSet
impl !Sync for TransientSet
impl RefUnwindSafe for TransientSet
impl Unpin for TransientSet
impl UnsafeUnpin for TransientSet
impl UnwindSafe for TransientSet
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