pub enum BuiltinType {
Dimensionless,
Bool,
Int,
Datetime(TimeScaleName),
}Expand description
Built-in type forms with closed semantic meaning.
Variants§
Dimensionless
Dimensionless.
Bool
Bool.
Int
Int.
Datetime(TimeScaleName)
Datetime or Datetime<Scale>.
Implementations§
Source§impl BuiltinType
impl BuiltinType
Sourcepub const fn datetime_utc() -> Self
pub const fn datetime_utc() -> Self
The default Datetime type is UTC.
Trait Implementations§
Source§impl Clone for BuiltinType
impl Clone for BuiltinType
Source§fn clone(&self) -> BuiltinType
fn clone(&self) -> BuiltinType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BuiltinType
Source§impl Debug for BuiltinType
impl Debug for BuiltinType
impl Eq for BuiltinType
Source§impl Hash for BuiltinType
impl Hash for BuiltinType
Source§impl PartialEq for BuiltinType
impl PartialEq for BuiltinType
Source§fn eq(&self, other: &BuiltinType) -> bool
fn eq(&self, other: &BuiltinType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BuiltinType
Auto Trait Implementations§
impl Freeze for BuiltinType
impl RefUnwindSafe for BuiltinType
impl Send for BuiltinType
impl Sync for BuiltinType
impl Unpin for BuiltinType
impl UnsafeUnpin for BuiltinType
impl UnwindSafe for BuiltinType
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.