pub struct SetOfVec<T> where
T: DerOrd, { /* private fields */ }
Available on crate feature
alloc
only.Expand description
ASN.1 SET OF
backed by a Vec
.
This type implements an append-only SET OF
type which is heap-backed
and depends on alloc
support.
Implementations
Trait Implementations
sourceimpl<'a, T> DecodeValue<'a> for SetOfVec<T> where
T: Decode<'a> + DerOrd,
impl<'a, T> DecodeValue<'a> for SetOfVec<T> where
T: Decode<'a> + DerOrd,
sourceimpl<'a, T> EncodeValue for SetOfVec<T> where
T: 'a + Decode<'a> + Encode + DerOrd,
impl<'a, T> EncodeValue for SetOfVec<T> where
T: 'a + Decode<'a> + Encode + DerOrd,
sourceimpl<T: Ord> Ord for SetOfVec<T> where
T: DerOrd,
impl<T: Ord> Ord for SetOfVec<T> where
T: DerOrd,
sourceimpl<T: PartialOrd> PartialOrd<SetOfVec<T>> for SetOfVec<T> where
T: DerOrd,
impl<T: PartialOrd> PartialOrd<SetOfVec<T>> for SetOfVec<T> where
T: DerOrd,
sourcefn partial_cmp(&self, other: &SetOfVec<T>) -> Option<Ordering>
fn partial_cmp(&self, other: &SetOfVec<T>) -> 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> Eq for SetOfVec<T> where
T: DerOrd,
impl<T> StructuralEq for SetOfVec<T> where
T: DerOrd,
impl<T> StructuralPartialEq for SetOfVec<T> where
T: DerOrd,
Auto Trait Implementations
impl<T> RefUnwindSafe for SetOfVec<T> where
T: RefUnwindSafe,
impl<T> Send for SetOfVec<T> where
T: Send,
impl<T> Sync for SetOfVec<T> where
T: Sync,
impl<T> Unpin for SetOfVec<T> where
T: Unpin,
impl<T> UnwindSafe for SetOfVec<T> 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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more