Struct asn1rs::model::ComponentTypeList
source · pub struct ComponentTypeList<RS = Unresolved>where
RS: ResolveState,{
pub fields: Vec<Field<Asn<RS>>, Global>,
pub extension_after: Option<usize>,
}
Expand description
ITU-T X.680 | ISO/IEC 8824-1:2015, Annex L
Fields§
§fields: Vec<Field<Asn<RS>>, Global>
§extension_after: Option<usize>
Implementations§
source§impl ComponentTypeList<Unresolved>
impl ComponentTypeList<Unresolved>
pub fn try_resolve<R>( &self, resolver: &R ) -> Result<ComponentTypeList<Resolved>, Error>where R: Resolver<<Resolved as ResolveState>::SizeType> + Resolver<<Resolved as ResolveState>::RangeType> + Resolver<<Resolved as ResolveState>::ConstType> + Resolver<Type<Unresolved>>,
Trait Implementations§
source§impl<RS> Clone for ComponentTypeList<RS>where
RS: Clone + ResolveState,
impl<RS> Clone for ComponentTypeList<RS>where RS: Clone + ResolveState,
source§fn clone(&self) -> ComponentTypeList<RS>
fn clone(&self) -> ComponentTypeList<RS>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<RS> Debug for ComponentTypeList<RS>where
RS: Debug + ResolveState,
impl<RS> Debug for ComponentTypeList<RS>where RS: Debug + ResolveState,
source§impl<RS> PartialEq<ComponentTypeList<RS>> for ComponentTypeList<RS>where
RS: PartialEq<RS> + ResolveState,
impl<RS> PartialEq<ComponentTypeList<RS>> for ComponentTypeList<RS>where RS: PartialEq<RS> + ResolveState,
source§fn eq(&self, other: &ComponentTypeList<RS>) -> bool
fn eq(&self, other: &ComponentTypeList<RS>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<RS> PartialOrd<ComponentTypeList<RS>> for ComponentTypeList<RS>where
RS: PartialOrd<RS> + ResolveState,
impl<RS> PartialOrd<ComponentTypeList<RS>> for ComponentTypeList<RS>where RS: PartialOrd<RS> + ResolveState,
source§fn partial_cmp(&self, other: &ComponentTypeList<RS>) -> Option<Ordering>
fn partial_cmp(&self, other: &ComponentTypeList<RS>) -> Option<Ordering>
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 moresource§impl<T> TryFrom<&mut Peekable<T>> for ComponentTypeList<Unresolved>where
T: Iterator<Item = Token>,
impl<T> TryFrom<&mut Peekable<T>> for ComponentTypeList<Unresolved>where T: Iterator<Item = Token>,
source§fn try_from(
iter: &mut Peekable<T>
) -> Result<ComponentTypeList<Unresolved>, <ComponentTypeList<Unresolved> as TryFrom<&mut Peekable<T>>>::Error>
fn try_from( iter: &mut Peekable<T> ) -> Result<ComponentTypeList<Unresolved>, <ComponentTypeList<Unresolved> as TryFrom<&mut Peekable<T>>>::Error>
Performs the conversion.
impl<RS> StructuralPartialEq for ComponentTypeList<RS>where RS: ResolveState,
Auto Trait Implementations§
impl<RS> RefUnwindSafe for ComponentTypeList<RS>where <RS as ResolveState>::ConstType: RefUnwindSafe, <RS as ResolveState>::RangeType: RefUnwindSafe, <RS as ResolveState>::SizeType: RefUnwindSafe,
impl<RS> Send for ComponentTypeList<RS>where <RS as ResolveState>::ConstType: Send, <RS as ResolveState>::RangeType: Send, <RS as ResolveState>::SizeType: Send,
impl<RS> Sync for ComponentTypeList<RS>where <RS as ResolveState>::ConstType: Sync, <RS as ResolveState>::RangeType: Sync, <RS as ResolveState>::SizeType: Sync,
impl<RS> Unpin for ComponentTypeList<RS>where <RS as ResolveState>::ConstType: Unpin, <RS as ResolveState>::RangeType: Unpin, <RS as ResolveState>::SizeType: Unpin,
impl<RS> UnwindSafe for ComponentTypeList<RS>where <RS as ResolveState>::ConstType: UnwindSafe, <RS as ResolveState>::RangeType: UnwindSafe, <RS as ResolveState>::SizeType: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more