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