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 for ScalarConstant
impl PartialEq 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 ==
.source§impl<'a> TryFrom<&'a ScalarConstant> for Locate
impl<'a> TryFrom<&'a ScalarConstant> for Locate
source§impl TryFrom<AnyNode> for ScalarConstant
impl TryFrom<AnyNode> for ScalarConstant
source§impl TryFrom<ScalarConstant> for Locate
impl TryFrom<ScalarConstant> for Locate
impl StructuralPartialEq for ScalarConstant
Auto Trait Implementations§
impl RefUnwindSafe for ScalarConstant
impl Send for ScalarConstant
impl Sync for ScalarConstant
impl Unpin for ScalarConstant
impl UnwindSafe for ScalarConstant
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