Enum sv_parser::CastingType
source · pub enum CastingType {
SimpleType(Box<SimpleType, Global>),
ConstantPrimary(Box<ConstantPrimary, Global>),
Signing(Box<Signing, Global>),
String(Box<Keyword, Global>),
Const(Box<Keyword, Global>),
}
Variants§
SimpleType(Box<SimpleType, Global>)
ConstantPrimary(Box<ConstantPrimary, Global>)
Signing(Box<Signing, Global>)
String(Box<Keyword, Global>)
Const(Box<Keyword, Global>)
Trait Implementations§
source§impl Clone for CastingType
impl Clone for CastingType
source§fn clone(&self) -> CastingType
fn clone(&self) -> CastingType
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 CastingType
impl Debug for CastingType
source§impl<'a> From<&'a CastingType> for RefNode<'a>
impl<'a> From<&'a CastingType> for RefNode<'a>
source§fn from(x: &'a CastingType) -> RefNode<'a>
fn from(x: &'a CastingType) -> RefNode<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a CastingType> for RefNodes<'a>
impl<'a> From<&'a CastingType> for RefNodes<'a>
source§fn from(x: &'a CastingType) -> RefNodes<'a>
fn from(x: &'a CastingType) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<CastingType> for AnyNode
impl From<CastingType> for AnyNode
source§fn from(x: CastingType) -> AnyNode
fn from(x: CastingType) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a CastingType
impl<'a> IntoIterator for &'a CastingType
source§impl PartialEq<CastingType> for CastingType
impl PartialEq<CastingType> for CastingType
source§fn eq(&self, other: &CastingType) -> bool
fn eq(&self, other: &CastingType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.