pub struct ComponentTypeList<RS: ResolveState = Unresolved> {
pub fields: Vec<Field<Asn<RS>>>,
pub extension_after: Option<usize>,
}Expand description
ITU-T X.680 | ISO/IEC 8824-1:2015, Annex L
Fields§
§fields: Vec<Field<Asn<RS>>>§extension_after: Option<usize>Implementations§
Source§impl ComponentTypeList<Unresolved>
impl ComponentTypeList<Unresolved>
pub fn try_resolve<R: Resolver<<Resolved as ResolveState>::SizeType> + Resolver<<Resolved as ResolveState>::RangeType> + Resolver<<Resolved as ResolveState>::ConstType> + Resolver<Type<Unresolved>>>( &self, resolver: &R, ) -> Result<ComponentTypeList<Resolved>, ResolveError>
Trait Implementations§
Source§impl<RS: Clone + ResolveState> Clone for ComponentTypeList<RS>
impl<RS: Clone + ResolveState> Clone for ComponentTypeList<RS>
Source§fn clone(&self) -> ComponentTypeList<RS>
fn clone(&self) -> ComponentTypeList<RS>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 + ResolveState> Debug for ComponentTypeList<RS>
impl<RS: Debug + ResolveState> Debug for ComponentTypeList<RS>
Source§impl<RS: PartialEq + ResolveState> PartialEq for ComponentTypeList<RS>
impl<RS: PartialEq + ResolveState> PartialEq for ComponentTypeList<RS>
Source§fn eq(&self, other: &ComponentTypeList<RS>) -> bool
fn eq(&self, other: &ComponentTypeList<RS>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<RS: PartialOrd + ResolveState> PartialOrd for ComponentTypeList<RS>
impl<RS: PartialOrd + ResolveState> PartialOrd for ComponentTypeList<RS>
Source§impl<T: Iterator<Item = Token>> TryFrom<&mut Peekable<T>> for ComponentTypeList<Unresolved>
impl<T: Iterator<Item = Token>> TryFrom<&mut Peekable<T>> for ComponentTypeList<Unresolved>
impl<RS: ResolveState> StructuralPartialEq for ComponentTypeList<RS>
Auto Trait Implementations§
impl<RS> Freeze for ComponentTypeList<RS>
impl<RS> RefUnwindSafe for ComponentTypeList<RS>where
<RS as ResolveState>::ConstType: RefUnwindSafe,
<RS as ResolveState>::SizeType: RefUnwindSafe,
<RS as ResolveState>::RangeType: RefUnwindSafe,
impl<RS> Send for ComponentTypeList<RS>where
<RS as ResolveState>::ConstType: Send,
<RS as ResolveState>::SizeType: Send,
<RS as ResolveState>::RangeType: Send,
impl<RS> Sync for ComponentTypeList<RS>where
<RS as ResolveState>::ConstType: Sync,
<RS as ResolveState>::SizeType: Sync,
<RS as ResolveState>::RangeType: Sync,
impl<RS> Unpin for ComponentTypeList<RS>where
<RS as ResolveState>::ConstType: Unpin,
<RS as ResolveState>::SizeType: Unpin,
<RS as ResolveState>::RangeType: Unpin,
impl<RS> UnsafeUnpin for ComponentTypeList<RS>
impl<RS> UnwindSafe for ComponentTypeList<RS>where
<RS as ResolveState>::ConstType: UnwindSafe,
<RS as ResolveState>::SizeType: UnwindSafe,
<RS as ResolveState>::RangeType: 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