pub struct ToplevelTypeDefinition {
pub comments: String,
pub tag: Option<AsnTag>,
pub name: String,
pub ty: ASN1Type,
pub parameterization: Option<Parameterization>,
pub index: Option<(Rc<RefCell<ModuleReference>>, usize)>,
}
Fields§
§comments: String
§tag: Option<AsnTag>
§name: String
§ty: ASN1Type
§parameterization: Option<Parameterization>
§index: Option<(Rc<RefCell<ModuleReference>>, usize)>
Implementations§
Trait Implementations§
Source§impl Clone for ToplevelTypeDefinition
impl Clone for ToplevelTypeDefinition
Source§fn clone(&self) -> ToplevelTypeDefinition
fn clone(&self) -> ToplevelTypeDefinition
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 Debug for ToplevelTypeDefinition
impl Debug for ToplevelTypeDefinition
Source§impl From<(Vec<&str>, &str, Option<Parameterization>, (Option<AsnTag>, ASN1Type))> for ToplevelTypeDefinition
impl From<(Vec<&str>, &str, Option<Parameterization>, (Option<AsnTag>, ASN1Type))> for ToplevelTypeDefinition
Source§impl PartialEq for ToplevelTypeDefinition
impl PartialEq for ToplevelTypeDefinition
impl StructuralPartialEq for ToplevelTypeDefinition
Auto Trait Implementations§
impl Freeze for ToplevelTypeDefinition
impl !RefUnwindSafe for ToplevelTypeDefinition
impl !Send for ToplevelTypeDefinition
impl !Sync for ToplevelTypeDefinition
impl Unpin for ToplevelTypeDefinition
impl !UnwindSafe for ToplevelTypeDefinition
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)