Struct der::asn1::SequenceOf
source · [−]pub struct SequenceOf<T, const N: usize> { /* private fields */ }
Expand description
ASN.1 SEQUENCE OF
backed by an array.
This type implements an append-only SEQUENCE OF
type which is stack-based
and does not depend on alloc
support.
Implementations
Create a new SequenceOf
.
Add an element to this SequenceOf
.
pub fn iter(&self) -> SequenceOfIter<'_, T>ⓘNotable traits for SequenceOfIter<'a, T>impl<'a, T> Iterator for SequenceOfIter<'a, T> type Item = &'a T;
pub fn iter(&self) -> SequenceOfIter<'_, T>ⓘNotable traits for SequenceOfIter<'a, T>impl<'a, T> Iterator for SequenceOfIter<'a, T> type Item = &'a T;
Notable traits for SequenceOfIter<'a, T>
impl<'a, T> Iterator for SequenceOfIter<'a, T> type Item = &'a T;
Iterate over the elements in this SequenceOf
.
Is this SequenceOf
empty?
Number of elements in this SequenceOf
.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<T, const N: usize> RefUnwindSafe for SequenceOf<T, N> where
T: RefUnwindSafe,
impl<T, const N: usize> Send for SequenceOf<T, N> where
T: Send,
impl<T, const N: usize> Sync for SequenceOf<T, N> where
T: Sync,
impl<T, const N: usize> Unpin for SequenceOf<T, N> where
T: Unpin,
impl<T, const N: usize> UnwindSafe for SequenceOf<T, N> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more