Enum rtlola_hir::hir::ConcreteValueType
source · pub enum ConcreteValueType {
Show 15 variants
Bool,
Integer8,
Integer16,
Integer32,
Integer64,
UInteger8,
UInteger16,
UInteger32,
UInteger64,
Float32,
Float64,
Tuple(Vec<ConcreteValueType>),
TString,
Byte,
Option(Box<ConcreteValueType>),
}
Expand description
The external definition for a value type.
Variants§
Bool
Bool e.g. true, false
Integer8
8-bit signed integer
Integer16
16-bit signed integer
Integer32
32-bit signed integer
Integer64
64-bit signed integer
UInteger8
8-bit unsigned integer
UInteger16
16-bit unsigned integer
UInteger32
32-bit unsigned integer
UInteger64
64-bit unsigned integer
Float32
32-bit floating point value
Float64
64-bit floating point value
Tuple(Vec<ConcreteValueType>)
A tuple type of arbitrary but fixed length: (Int8, Float32, Bool)
TString
String value: “Hello”
Byte
Byte value, used for string index access and regex matches
Option(Box<ConcreteValueType>)
Optional value for partial functions like Offset
Trait Implementations§
source§impl Clone for ConcreteValueType
impl Clone for ConcreteValueType
source§fn clone(&self) -> ConcreteValueType
fn clone(&self) -> ConcreteValueType
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 ConcreteValueType
impl Debug for ConcreteValueType
source§impl Display for ConcreteValueType
impl Display for ConcreteValueType
source§impl PartialEq<ConcreteValueType> for ConcreteValueType
impl PartialEq<ConcreteValueType> for ConcreteValueType
source§fn eq(&self, other: &ConcreteValueType) -> bool
fn eq(&self, other: &ConcreteValueType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ConcreteValueType
impl StructuralEq for ConcreteValueType
impl StructuralPartialEq for ConcreteValueType
Auto Trait Implementations§
impl RefUnwindSafe for ConcreteValueType
impl Send for ConcreteValueType
impl Sync for ConcreteValueType
impl Unpin for ConcreteValueType
impl UnwindSafe for ConcreteValueType
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.