pub struct Asn<RS = Resolved>where
RS: ResolveState,{
pub tag: Option<Tag>,
pub type: Type<RS>,
pub default: Option<<RS as ResolveState>::ConstType>,
}
Fields§
§tag: Option<Tag>
§type: Type<RS>
§default: Option<<RS as ResolveState>::ConstType>
Implementations§
source§impl<RS> Asn<RS>where
RS: ResolveState,
impl<RS> Asn<RS>where RS: ResolveState,
source§impl Asn<Unresolved>
impl Asn<Unresolved>
pub fn try_resolve<R>(&self, resolver: &R) -> Result<Asn<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 Asn<RS>where
RS: Clone + ResolveState,
<RS as ResolveState>::ConstType: Clone,
impl<RS> Clone for Asn<RS>where RS: Clone + ResolveState, <RS as ResolveState>::ConstType: Clone,
source§impl<RS> Debug for Asn<RS>where
RS: Debug + ResolveState,
<RS as ResolveState>::ConstType: Debug,
impl<RS> Debug for Asn<RS>where RS: Debug + ResolveState, <RS as ResolveState>::ConstType: Debug,
source§impl<RS> PartialEq<Asn<RS>> for Asn<RS>where
RS: PartialEq<RS> + ResolveState,
<RS as ResolveState>::ConstType: PartialEq<<RS as ResolveState>::ConstType>,
impl<RS> PartialEq<Asn<RS>> for Asn<RS>where RS: PartialEq<RS> + ResolveState, <RS as ResolveState>::ConstType: PartialEq<<RS as ResolveState>::ConstType>,
source§impl<RS> PartialOrd<Asn<RS>> for Asn<RS>where
RS: PartialOrd<RS> + ResolveState,
<RS as ResolveState>::ConstType: PartialOrd<<RS as ResolveState>::ConstType>,
impl<RS> PartialOrd<Asn<RS>> for Asn<RS>where RS: PartialOrd<RS> + ResolveState, <RS as ResolveState>::ConstType: PartialOrd<<RS as ResolveState>::ConstType>,
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<Resolved>
impl TagProperty for Asn<Resolved>
source§impl<RS> Target for Asn<RS>where
RS: ResolveState,
impl<RS> Target for Asn<RS>where RS: ResolveState,
type DefinitionType = Asn<RS>
type ValueReferenceType = Asn<RS>
impl<RS> StructuralPartialEq for Asn<RS>where RS: ResolveState,
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