Enum ligature::Value [−][src]
pub enum Value {
Identifier(Identifier),
StringLiteral(String),
IntegerLiteral(i64),
BytesLiteral(Bytes),
}
Expand description
An enum that represents all the currently supported Value types.
Variants
Identifier(Identifier)
An Entity.
Tuple Fields of Identifier
0: Identifier
StringLiteral(String)
A String used for a Ligature literal
Tuple Fields of StringLiteral
0: String
IntegerLiteral(i64)
An i64 used for a Ligature literal
Tuple Fields of IntegerLiteral
0: i64
BytesLiteral(Bytes)
An array of bytes
Tuple Fields of BytesLiteral
0: Bytes
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Value
impl UnwindSafe for Value
Blanket Implementations
Mutably borrows from an owned value. Read more