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