Expand description
ASN.1 SET OF
backed by an array.
This type implements an append-only SET OF
type which is stack-based
and does not depend on alloc
support.
Implementations
sourceimpl<T, const N: usize> SetOf<T, N> where
T: Clone + DerOrd,
impl<T, const N: usize> SetOf<T, N> where
T: Clone + DerOrd,
Trait Implementations
sourceimpl<'a, T, const N: usize> DecodeValue<'a> for SetOf<T, N> where
T: Clone + Decodable<'a> + DerOrd,
impl<'a, T, const N: usize> DecodeValue<'a> for SetOf<T, N> where
T: Clone + Decodable<'a> + DerOrd,
sourceimpl<'a, T, const N: usize> EncodeValue for SetOf<T, N> where
T: 'a + Clone + Decodable<'a> + Encodable + DerOrd,
impl<'a, T, const N: usize> EncodeValue for SetOf<T, N> where
T: 'a + Clone + Decodable<'a> + Encodable + DerOrd,
sourceimpl<T: Ord, const N: usize> Ord for SetOf<T, N> where
T: Clone + DerOrd,
impl<T: Ord, const N: usize> Ord for SetOf<T, N> where
T: Clone + DerOrd,
sourceimpl<T: PartialEq, const N: usize> PartialEq<SetOf<T, N>> for SetOf<T, N> where
T: Clone + DerOrd,
impl<T: PartialEq, const N: usize> PartialEq<SetOf<T, N>> for SetOf<T, N> where
T: Clone + DerOrd,
sourceimpl<T: PartialOrd, const N: usize> PartialOrd<SetOf<T, N>> for SetOf<T, N> where
T: Clone + DerOrd,
impl<T: PartialOrd, const N: usize> PartialOrd<SetOf<T, N>> for SetOf<T, N> where
T: Clone + DerOrd,
sourcefn partial_cmp(&self, other: &SetOf<T, N>) -> Option<Ordering>
fn partial_cmp(&self, other: &SetOf<T, N>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
impl<T: Eq, const N: usize> Eq for SetOf<T, N> where
T: Clone + DerOrd,
impl<T, const N: usize> StructuralEq for SetOf<T, N> where
T: Clone + DerOrd,
impl<T, const N: usize> StructuralPartialEq for SetOf<T, N> where
T: Clone + DerOrd,
Auto Trait Implementations
impl<T, const N: usize> RefUnwindSafe for SetOf<T, N> where
T: RefUnwindSafe,
impl<T, const N: usize> Send for SetOf<T, N> where
T: Send,
impl<T, const N: usize> Sync for SetOf<T, N> where
T: Sync,
impl<T, const N: usize> Unpin for SetOf<T, N> where
T: Unpin,
impl<T, const N: usize> UnwindSafe for SetOf<T, N> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more