pub struct SetValZST;
Expand description
Zero-Sized Type (ZST) for internal BTreeSet
values.
Used instead of ()
to differentiate between:
BTreeMap<T, ()>
(possible user-defined map)BTreeMap<T, SetValZST>
(internal set representation)
Trait Implementations§
source§impl Ord for SetValZST
impl Ord for SetValZST
source§impl PartialEq<SetValZST> for SetValZST
impl PartialEq<SetValZST> for SetValZST
source§impl PartialOrd<SetValZST> for SetValZST
impl PartialOrd<SetValZST> for SetValZST
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl StructuralEq for SetValZST
impl StructuralPartialEq for SetValZST
Auto Trait Implementations§
impl RefUnwindSafe for SetValZST
impl Send for SetValZST
impl Sync for SetValZST
impl Unpin for SetValZST
impl UnwindSafe for SetValZST
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