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§
Trait Implementations§
source§impl<'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,
source§impl<'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,
source§impl<T, const N: usize> Ord for SetOf<T, N>where
T: Clone + DerOrd + Ord,
impl<T, const N: usize> Ord for SetOf<T, N>where
T: Clone + DerOrd + Ord,
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<T, const N: usize> PartialEq<SetOf<T, N>> for SetOf<T, N>where
T: Clone + DerOrd + PartialEq,
impl<T, const N: usize> PartialEq<SetOf<T, N>> for SetOf<T, N>where
T: Clone + DerOrd + PartialEq,
source§impl<T, const N: usize> PartialOrd<SetOf<T, N>> for SetOf<T, N>where
T: Clone + DerOrd + PartialOrd,
impl<T, const N: usize> PartialOrd<SetOf<T, N>> for SetOf<T, N>where
T: Clone + DerOrd + PartialOrd,
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 more