Struct SetValZST
pub(in ::collections::btree) struct SetValZST;
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
impl Clone for SetValZST
fn clone(&self) -> SetValZST
impl Debug for SetValZST
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for SetValZST
fn default() -> SetValZST
impl Eq for SetValZST
fn assert_fields_are_eq(&self)
impl Hash for SetValZST
fn hash<__H: Hasher>(&self, state: &mut __H)
impl IsSetVal for SetValZST
fn is_set_val() -> bool
impl Ord for SetValZST
fn cmp(&self, other: &SetValZST) -> Ordering
impl PartialEq for SetValZST
fn eq(&self, other: &SetValZST) -> bool
impl PartialOrd for SetValZST
fn partial_cmp(&self, other: &SetValZST) -> Option<Ordering>
impl StructuralPartialEq for SetValZST
Auto Trait Implementations
impl Freeze for SetValZST
impl RefUnwindSafe for SetValZST
impl Send for SetValZST
impl Sync for SetValZST
impl Unpin for SetValZST
impl UnsafeUnpin for SetValZST
impl UnwindSafe for SetValZST
Blanket Implementations
impl<T> Any for SetValZST
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for SetValZST
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for SetValZST
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for SetValZST
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for SetValZST
fn from(t: T) -> TReturns the argument unchanged.
impl<T> SizeHint for SetValZST
where
T: ?Sized,
fn lower_bound(&self) -> usizefn upper_bound(&self) -> Option<usize>
impl<T> SizedTypeProperties for SetValZST
impl<T> ToOwned for SetValZST
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for SetValZST
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for SetValZST
where
U: Into<T>,
type Error = Infallible;fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto<U> for SetValZST
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>