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 Hash for ConcreteValueType
impl Hash for ConcreteValueType
source§impl PartialEq for ConcreteValueType
impl PartialEq 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 StructuralPartialEq for ConcreteValueType
Auto Trait Implementations§
impl Freeze for ConcreteValueType
impl RefUnwindSafe for ConcreteValueType
impl Send for ConcreteValueType
impl Sync for ConcreteValueType
impl Unpin for ConcreteValueType
impl UnwindSafe for ConcreteValueType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more