Enum moore_vhdl::score::TypeMarkRef
source · [−]pub enum TypeMarkRef {
Type(TypeDeclRef),
Subtype(SubtypeDeclRef),
}
Variants
Type(TypeDeclRef)
Subtype(SubtypeDeclRef)
Trait Implementations
sourceimpl<'a> Alloc<'a, 'a, TypeMarkRef> for Arenas
impl<'a> Alloc<'a, 'a, TypeMarkRef> for Arenas
sourcefn alloc(&'a self, value: TypeMarkRef) -> &'a mut TypeMarkRef
fn alloc(&'a self, value: TypeMarkRef) -> &'a mut TypeMarkRef
Allocate a value of type T
.
sourceimpl Clone for TypeMarkRef
impl Clone for TypeMarkRef
sourcefn clone(&self) -> TypeMarkRef
fn clone(&self) -> TypeMarkRef
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 TypeMarkRef
impl Debug for TypeMarkRef
sourceimpl From<SubtypeDeclRef> for TypeMarkRef
impl From<SubtypeDeclRef> for TypeMarkRef
sourcefn from(id: SubtypeDeclRef) -> TypeMarkRef
fn from(id: SubtypeDeclRef) -> TypeMarkRef
Performs the conversion.
sourceimpl From<TypeDeclRef> for TypeMarkRef
impl From<TypeDeclRef> for TypeMarkRef
sourcefn from(id: TypeDeclRef) -> TypeMarkRef
fn from(id: TypeDeclRef) -> TypeMarkRef
Performs the conversion.
sourceimpl From<TypeMarkRef> for Def
impl From<TypeMarkRef> for Def
sourcefn from(tm: TypeMarkRef) -> Def
fn from(tm: TypeMarkRef) -> Def
Performs the conversion.
sourceimpl Hash for TypeMarkRef
impl Hash for TypeMarkRef
sourceimpl<'lazy, 'sb, 'ast, 'ctx> NodeMaker<TypeMarkRef, &'ctx Ty> for ScoreContext<'lazy, 'sb, 'ast, 'ctx>
impl<'lazy, 'sb, 'ast, 'ctx> NodeMaker<TypeMarkRef, &'ctx Ty> for ScoreContext<'lazy, 'sb, 'ast, 'ctx>
sourceimpl Ord for TypeMarkRef
impl Ord for TypeMarkRef
sourceimpl PartialEq<TypeMarkRef> for TypeMarkRef
impl PartialEq<TypeMarkRef> for TypeMarkRef
sourcefn eq(&self, other: &TypeMarkRef) -> bool
fn eq(&self, other: &TypeMarkRef) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TypeMarkRef) -> bool
fn ne(&self, other: &TypeMarkRef) -> bool
This method tests for !=
.
sourceimpl PartialOrd<TypeMarkRef> for TypeMarkRef
impl PartialOrd<TypeMarkRef> for TypeMarkRef
sourcefn partial_cmp(&self, other: &TypeMarkRef) -> Option<Ordering>
fn partial_cmp(&self, other: &TypeMarkRef) -> 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 TypeMarkRef
impl Eq for TypeMarkRef
impl StructuralEq for TypeMarkRef
impl StructuralPartialEq for TypeMarkRef
Auto Trait Implementations
impl RefUnwindSafe for TypeMarkRef
impl Send for TypeMarkRef
impl Sync for TypeMarkRef
impl Unpin for TypeMarkRef
impl UnwindSafe for TypeMarkRef
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more