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