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