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