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