pub enum ModelTypeSystem {
Automation,
Raw,
}
Variants
Automation
COM Automation compatible type system.
Raw
Raw type system.
Implementations
sourceimpl 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
sourceimpl Clone for ModelTypeSystem
impl Clone for ModelTypeSystem
sourcefn clone(&self) -> ModelTypeSystem
fn clone(&self) -> ModelTypeSystem
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ModelTypeSystem
impl Debug for ModelTypeSystem
sourceimpl Hash for ModelTypeSystem
impl Hash for ModelTypeSystem
sourceimpl IdentFragment for ModelTypeSystem
impl IdentFragment for ModelTypeSystem
sourceimpl Ord for ModelTypeSystem
impl Ord for ModelTypeSystem
sourceimpl PartialEq<ModelTypeSystem> for ModelTypeSystem
impl PartialEq<ModelTypeSystem> for ModelTypeSystem
sourceimpl PartialOrd<ModelTypeSystem> for ModelTypeSystem
impl PartialOrd<ModelTypeSystem> for ModelTypeSystem
sourcefn partial_cmp(&self, other: &ModelTypeSystem) -> Option<Ordering>
fn partial_cmp(&self, other: &ModelTypeSystem) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for ModelTypeSystem
impl Eq for ModelTypeSystem
impl StructuralEq for ModelTypeSystem
impl StructuralPartialEq for ModelTypeSystem
Auto Trait Implementations
impl RefUnwindSafe for ModelTypeSystem
impl Send for ModelTypeSystem
impl Sync for ModelTypeSystem
impl Unpin for ModelTypeSystem
impl UnwindSafe for ModelTypeSystem
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.