Enum rtlola_frontend::mir::Type [−][src]
Represents an RTLola value type. This does not including pacing information, for this refer to TimeDrivenStream and EventDrivenStream.
Variants
A boolean type
Int(IntTy)
An integer type of fixed bit-width
UInt(UIntTy)
An unsigned integer type of fixed bit-width
Float(FloatTy)
A floating point type of fixed bit-width
A unicode string
A sequence of 8-bit bytes
An n-ary tuples where n is the length of the contained vector
An optional value type, e.g., resulting from accessing a past value of a stream
A type describing a function
Fields of Function
Implementations
impl Type
[src]
pub fn size(&self) -> Option<ValSize>
[src]
Indicates how many bytes a type requires to be stored in memory.
Recursive types yield the sum of their sub-type sizes, unsized types panic, and functions do not have a size, so they produce None
.
Panics
Panics if the type is an instance of Type::Option, Type::String, or Type::Bytes because their size is undetermined.
Trait Implementations
impl Clone for Type
[src]
impl Debug for Type
[src]
impl Display for Type
[src]
impl Eq for Type
[src]
impl From<ConcreteValueType> for Type
[src]
fn from(ty: ConcreteValueType) -> Type
[src]
impl PartialEq<Type> for Type
[src]
impl StructuralEq for Type
[src]
impl StructuralPartialEq for Type
[src]
Auto Trait Implementations
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,