Struct rasn_compiler::intermediate::ModuleReference
source · pub struct ModuleReference {
pub name: String,
pub module_identifier: Option<DefinitiveIdentifier>,
pub encoding_reference_default: Option<EncodingReferenceDefault>,
pub tagging_environment: TaggingEnvironment,
pub extensibility_environment: ExtensibilityEnvironment,
pub imports: Vec<Import>,
pub exports: Option<Exports>,
}
Expand description
Represents a module header as specified in Rec. ITU-T X.680 (02/2021) § 13
Fields§
§name: String
§module_identifier: Option<DefinitiveIdentifier>
§encoding_reference_default: Option<EncodingReferenceDefault>
§tagging_environment: TaggingEnvironment
§extensibility_environment: ExtensibilityEnvironment
§imports: Vec<Import>
§exports: Option<Exports>
Trait Implementations§
source§impl Clone for ModuleReference
impl Clone for ModuleReference
source§fn clone(&self) -> ModuleReference
fn clone(&self) -> ModuleReference
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 ModuleReference
impl Debug for ModuleReference
source§impl From<(&str, Option<DefinitiveIdentifier>, Option<(Option<EncodingReferenceDefault>, TaggingEnvironment, ExtensibilityEnvironment)>, Option<Exports>, Option<Vec<Import>>)> for ModuleReference
impl From<(&str, Option<DefinitiveIdentifier>, Option<(Option<EncodingReferenceDefault>, TaggingEnvironment, ExtensibilityEnvironment)>, Option<Exports>, Option<Vec<Import>>)> for ModuleReference
source§fn from(
value: (&str, Option<DefinitiveIdentifier>, Option<(Option<EncodingReferenceDefault>, TaggingEnvironment, ExtensibilityEnvironment)>, Option<Exports>, Option<Vec<Import>>)
) -> Self
fn from( value: (&str, Option<DefinitiveIdentifier>, Option<(Option<EncodingReferenceDefault>, TaggingEnvironment, ExtensibilityEnvironment)>, Option<Exports>, Option<Vec<Import>>) ) -> Self
Converts to this type from the input type.
source§impl PartialEq for ModuleReference
impl PartialEq for ModuleReference
source§fn eq(&self, other: &ModuleReference) -> bool
fn eq(&self, other: &ModuleReference) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ModuleReference
Auto Trait Implementations§
impl RefUnwindSafe for ModuleReference
impl Send for ModuleReference
impl Sync for ModuleReference
impl Unpin for ModuleReference
impl UnwindSafe for ModuleReference
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