pub enum SemanticTypeRole {
FixedDecimal {
scale: u8,
signed: bool,
},
SignedInt {
bits: u16,
},
BoundedList {
max_len: u32,
},
Guard,
Timestamp,
}Expand description
Higher-level semantic role attached to a descriptor entry so codegen and host tooling can recover frontend types lowered onto core IR primitives.
Variants§
Trait Implementations§
Source§impl Clone for SemanticTypeRole
impl Clone for SemanticTypeRole
impl Copy for SemanticTypeRole
Source§impl Debug for SemanticTypeRole
impl Debug for SemanticTypeRole
Source§impl<'de> Deserialize<'de> for SemanticTypeRole
impl<'de> Deserialize<'de> for SemanticTypeRole
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SemanticTypeRole
Source§impl Hash for SemanticTypeRole
impl Hash for SemanticTypeRole
Source§impl PartialEq for SemanticTypeRole
impl PartialEq for SemanticTypeRole
Source§impl Serialize for SemanticTypeRole
impl Serialize for SemanticTypeRole
impl StructuralPartialEq for SemanticTypeRole
Auto Trait Implementations§
impl Forget for SemanticTypeRole
impl Freeze for SemanticTypeRole
impl Move for SemanticTypeRole
impl RefUnwindSafe for SemanticTypeRole
impl Send for SemanticTypeRole
impl Sync for SemanticTypeRole
impl Unpin for SemanticTypeRole
impl UnsafeUnpin for SemanticTypeRole
impl UnwindSafe for SemanticTypeRole
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.