Enum moore_vhdl::score::GenericRef
source · [−]pub enum GenericRef {
Type(IntfTypeRef),
Subprog(IntfSubprogRef),
Pkg(IntfPkgRef),
Const(IntfConstRef),
}
Variants
Type(IntfTypeRef)
Subprog(IntfSubprogRef)
Pkg(IntfPkgRef)
Const(IntfConstRef)
Trait Implementations
sourceimpl Clone for GenericRef
impl Clone for GenericRef
sourcefn clone(&self) -> GenericRef
fn clone(&self) -> GenericRef
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 GenericRef
impl Debug for GenericRef
sourceimpl From<IntfConstRef> for GenericRef
impl From<IntfConstRef> for GenericRef
sourcefn from(id: IntfConstRef) -> GenericRef
fn from(id: IntfConstRef) -> GenericRef
Performs the conversion.
sourceimpl From<IntfPkgRef> for GenericRef
impl From<IntfPkgRef> for GenericRef
sourcefn from(id: IntfPkgRef) -> GenericRef
fn from(id: IntfPkgRef) -> GenericRef
Performs the conversion.
sourceimpl From<IntfSubprogRef> for GenericRef
impl From<IntfSubprogRef> for GenericRef
sourcefn from(id: IntfSubprogRef) -> GenericRef
fn from(id: IntfSubprogRef) -> GenericRef
Performs the conversion.
sourceimpl From<IntfTypeRef> for GenericRef
impl From<IntfTypeRef> for GenericRef
sourcefn from(id: IntfTypeRef) -> GenericRef
fn from(id: IntfTypeRef) -> GenericRef
Performs the conversion.
sourceimpl Hash for GenericRef
impl Hash for GenericRef
sourceimpl Ord for GenericRef
impl Ord for GenericRef
sourceimpl PartialEq<GenericRef> for GenericRef
impl PartialEq<GenericRef> for GenericRef
sourcefn eq(&self, other: &GenericRef) -> bool
fn eq(&self, other: &GenericRef) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GenericRef) -> bool
fn ne(&self, other: &GenericRef) -> bool
This method tests for !=
.
sourceimpl PartialOrd<GenericRef> for GenericRef
impl PartialOrd<GenericRef> for GenericRef
sourcefn partial_cmp(&self, other: &GenericRef) -> Option<Ordering>
fn partial_cmp(&self, other: &GenericRef) -> 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
sourceimpl<'sbc, 'lazy, 'sb, 'ast, 'ctx> Typeck<GenericRef> for TypeckContext<'sbc, 'lazy, 'sb, 'ast, 'ctx>
impl<'sbc, 'lazy, 'sb, 'ast, 'ctx> Typeck<GenericRef> for TypeckContext<'sbc, 'lazy, 'sb, 'ast, 'ctx>
fn typeck(&self, id: GenericRef)
impl Copy for GenericRef
impl Eq for GenericRef
impl StructuralEq for GenericRef
impl StructuralPartialEq for GenericRef
Auto Trait Implementations
impl RefUnwindSafe for GenericRef
impl Send for GenericRef
impl Sync for GenericRef
impl Unpin for GenericRef
impl UnwindSafe for GenericRef
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