pub enum ModelTypeSystem {
Automation,
Raw,
}
Variants§
Implementations§
Source§impl ModelTypeSystem
impl ModelTypeSystem
Sourcepub fn as_tokens(self) -> TokenStream
pub fn as_tokens(self) -> TokenStream
Converts the model type system into public type system tokens.
Sourcepub fn as_typesystem_tokens(self, span: Span) -> TokenStream
pub fn as_typesystem_tokens(self, span: Span) -> TokenStream
Converts the model type system into public type system tokens.
Sourcepub fn as_typesystem_type(self, span: Span) -> Type
pub fn as_typesystem_type(self, span: Span) -> Type
Returns the intercom type that represents the type system.
Trait Implementations§
Source§impl Clone for ModelTypeSystem
impl Clone for ModelTypeSystem
Source§fn clone(&self) -> ModelTypeSystem
fn clone(&self) -> ModelTypeSystem
Returns a duplicate 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 ModelTypeSystem
impl Debug for ModelTypeSystem
Source§impl Hash for ModelTypeSystem
impl Hash for ModelTypeSystem
Source§impl IdentFragment for ModelTypeSystem
impl IdentFragment for ModelTypeSystem
Source§impl Ord for ModelTypeSystem
impl Ord for ModelTypeSystem
Source§fn cmp(&self, other: &ModelTypeSystem) -> Ordering
fn cmp(&self, other: &ModelTypeSystem) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ModelTypeSystem
impl PartialEq for ModelTypeSystem
Source§impl PartialOrd for ModelTypeSystem
impl PartialOrd for ModelTypeSystem
impl Copy for ModelTypeSystem
impl Eq for ModelTypeSystem
impl StructuralPartialEq for ModelTypeSystem
Auto Trait Implementations§
impl Freeze for ModelTypeSystem
impl RefUnwindSafe for ModelTypeSystem
impl Send for ModelTypeSystem
impl Sync for ModelTypeSystem
impl Unpin for ModelTypeSystem
impl UnwindSafe for ModelTypeSystem
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.