Enum sv_parser::source_text::Description
source · pub enum Description {
ResetallCompilerDirective(Box<ResetallCompilerDirective>),
ModuleDeclaration(Box<ModuleDeclaration>),
UdpDeclaration(Box<UdpDeclaration>),
InterfaceDeclaration(Box<InterfaceDeclaration>),
InterfaceClassDeclaration(Box<InterfaceClassDeclaration>),
ProgramDeclaration(Box<ProgramDeclaration>),
PackageDeclaration(Box<PackageDeclaration>),
PackageItem(Box<DescriptionPackageItem>),
BindDirective(Box<DescriptionBindDirective>),
ConfigDeclaration(Box<ConfigDeclaration>),
}
Variants§
ResetallCompilerDirective(Box<ResetallCompilerDirective>)
ModuleDeclaration(Box<ModuleDeclaration>)
UdpDeclaration(Box<UdpDeclaration>)
InterfaceDeclaration(Box<InterfaceDeclaration>)
InterfaceClassDeclaration(Box<InterfaceClassDeclaration>)
ProgramDeclaration(Box<ProgramDeclaration>)
PackageDeclaration(Box<PackageDeclaration>)
PackageItem(Box<DescriptionPackageItem>)
BindDirective(Box<DescriptionBindDirective>)
ConfigDeclaration(Box<ConfigDeclaration>)
Trait Implementations§
source§impl Clone for Description
impl Clone for Description
source§fn clone(&self) -> Description
fn clone(&self) -> Description
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 Description
impl Debug for Description
source§impl<'a> From<&'a Description> for RefNode<'a>
impl<'a> From<&'a Description> for RefNode<'a>
source§fn from(x: &'a Description) -> RefNode<'a>
fn from(x: &'a Description) -> RefNode<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a Description> for RefNodes<'a>
impl<'a> From<&'a Description> for RefNodes<'a>
source§fn from(x: &'a Description) -> RefNodes<'a>
fn from(x: &'a Description) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<Description> for AnyNode
impl From<Description> for AnyNode
source§fn from(x: Description) -> AnyNode
fn from(x: Description) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a Description
impl<'a> IntoIterator for &'a Description
source§impl PartialEq for Description
impl PartialEq for Description
source§fn eq(&self, other: &Description) -> bool
fn eq(&self, other: &Description) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> TryFrom<&'a Description> for Locate
impl<'a> TryFrom<&'a Description> for Locate
source§impl TryFrom<AnyNode> for Description
impl TryFrom<AnyNode> for Description
source§impl TryFrom<Description> for Locate
impl TryFrom<Description> for Locate
impl StructuralPartialEq for Description
Auto Trait Implementations§
impl RefUnwindSafe for Description
impl Send for Description
impl Sync for Description
impl Unpin for Description
impl UnwindSafe for Description
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