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