Enum sv_parser_syntaxtree::expressions::primaries::PrimaryLiteral [−][src]
pub enum PrimaryLiteral {
Number(Box<Number>),
TimeLiteral(Box<TimeLiteral>),
UnbasedUnsizedLiteral(Box<UnbasedUnsizedLiteral>),
StringLiteral(Box<StringLiteral>),
}
Variants
TimeLiteral(Box<TimeLiteral>)
Tuple Fields of TimeLiteral
0: Box<TimeLiteral>
UnbasedUnsizedLiteral(Box<UnbasedUnsizedLiteral>)
Tuple Fields of UnbasedUnsizedLiteral
StringLiteral(Box<StringLiteral>)
Tuple Fields of StringLiteral
0: Box<StringLiteral>
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PrimaryLiteral
impl Send for PrimaryLiteral
impl Sync for PrimaryLiteral
impl Unpin for PrimaryLiteral
impl UnwindSafe for PrimaryLiteral
Blanket Implementations
Mutably borrows from an owned value. Read more