Struct sv_parser::TypeAssignment
source · pub struct TypeAssignment {
pub nodes: (TypeIdentifier, Option<(Symbol, DataType)>),
}
Fields§
§nodes: (TypeIdentifier, Option<(Symbol, DataType)>)
Trait Implementations§
source§impl Clone for TypeAssignment
impl Clone for TypeAssignment
source§fn clone(&self) -> TypeAssignment
fn clone(&self) -> TypeAssignment
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 TypeAssignment
impl Debug for TypeAssignment
source§impl<'a> From<&'a TypeAssignment> for RefNode<'a>
impl<'a> From<&'a TypeAssignment> for RefNode<'a>
source§fn from(x: &'a TypeAssignment) -> RefNode<'a>
fn from(x: &'a TypeAssignment) -> RefNode<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a TypeAssignment> for RefNodes<'a>
impl<'a> From<&'a TypeAssignment> for RefNodes<'a>
source§fn from(x: &'a TypeAssignment) -> RefNodes<'a>
fn from(x: &'a TypeAssignment) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<TypeAssignment> for AnyNode
impl From<TypeAssignment> for AnyNode
source§fn from(x: TypeAssignment) -> AnyNode
fn from(x: TypeAssignment) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a TypeAssignment
impl<'a> IntoIterator for &'a TypeAssignment
source§impl PartialEq<TypeAssignment> for TypeAssignment
impl PartialEq<TypeAssignment> for TypeAssignment
source§fn eq(&self, other: &TypeAssignment) -> bool
fn eq(&self, other: &TypeAssignment) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.