Struct asn1rs_model::model::Asn
source · pub struct Asn<RS: ResolveState = Resolved> {
pub tag: Option<Tag>,
pub type: Type<RS>,
pub default: Option<RS::ConstType>,
}
Fields§
§tag: Option<Tag>
§type: Type<RS>
§default: Option<RS::ConstType>
Implementations§
source§impl<RS: ResolveState> Asn<RS>
impl<RS: ResolveState> Asn<RS>
source§impl Asn<Unresolved>
impl Asn<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<Asn<Resolved>, ResolveError>
Trait Implementations§
source§impl<RS: PartialEq + ResolveState> PartialEq<Asn<RS>> for Asn<RS>where
RS::ConstType: PartialEq,
impl<RS: PartialEq + ResolveState> PartialEq<Asn<RS>> for Asn<RS>where RS::ConstType: PartialEq,
source§impl<RS: PartialOrd + ResolveState> PartialOrd<Asn<RS>> for Asn<RS>where
RS::ConstType: PartialOrd,
impl<RS: PartialOrd + ResolveState> PartialOrd<Asn<RS>> for Asn<RS>where RS::ConstType: 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 moresource§impl TagProperty for Asn
impl TagProperty for Asn
source§impl<RS: ResolveState> Target for Asn<RS>
impl<RS: ResolveState> Target for Asn<RS>
type DefinitionType = Asn<RS>
type ValueReferenceType = Asn<RS>
impl<RS: ResolveState> StructuralPartialEq for Asn<RS>
Auto Trait Implementations§
impl<RS> RefUnwindSafe for Asn<RS>where <RS as ResolveState>::ConstType: RefUnwindSafe, <RS as ResolveState>::RangeType: RefUnwindSafe, <RS as ResolveState>::SizeType: RefUnwindSafe,
impl<RS> Send for Asn<RS>where <RS as ResolveState>::ConstType: Send, <RS as ResolveState>::RangeType: Send, <RS as ResolveState>::SizeType: Send,
impl<RS> Sync for Asn<RS>where <RS as ResolveState>::ConstType: Sync, <RS as ResolveState>::RangeType: Sync, <RS as ResolveState>::SizeType: Sync,
impl<RS> Unpin for Asn<RS>where <RS as ResolveState>::ConstType: Unpin, <RS as ResolveState>::RangeType: Unpin, <RS as ResolveState>::SizeType: Unpin,
impl<RS> UnwindSafe for Asn<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