pub struct OwnedSet<K>(/* private fields */);Expand description
An ordinary ordered set with exact node layouts and the same enclosing-owner admission contract as OwnedMap.
Implementations§
Trait Implementations§
impl<K: Eq> Eq for OwnedSet<K>
Source§impl<K: Ord> FromIterator<K> for OwnedSet<K>
impl<K: Ord> FromIterator<K> for OwnedSet<K>
Source§fn from_iter<T: IntoIterator<Item = K>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = K>>(iter: T) -> Self
Creates a value from an iterator. Read more
Source§impl<'a, K> IntoIterator for &'a OwnedSet<K>
impl<'a, K> IntoIterator for &'a OwnedSet<K>
Source§impl<K> IntoIterator for OwnedSet<K>
impl<K> IntoIterator for OwnedSet<K>
impl<K: PartialEq> StructuralPartialEq for OwnedSet<K>
Auto Trait Implementations§
impl<K> Freeze for OwnedSet<K>
impl<K> RefUnwindSafe for OwnedSet<K>
impl<K> Send for OwnedSet<K>
impl<K> Sync for OwnedSet<K>
impl<K> Unpin for OwnedSet<K>
impl<K> UnsafeUnpin for OwnedSet<K>
impl<K> UnwindSafe for OwnedSet<K>
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