Struct moore_vhdl::score::SubtypeDeclRef
source · [−]pub struct SubtypeDeclRef(_);
Trait Implementations
sourceimpl Clone for SubtypeDeclRef
impl Clone for SubtypeDeclRef
sourcefn clone(&self) -> SubtypeDeclRef
fn clone(&self) -> SubtypeDeclRef
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 SubtypeDeclRef
impl Debug for SubtypeDeclRef
sourceimpl From<SubtypeDeclRef> for Def
impl From<SubtypeDeclRef> for Def
sourcefn from(id: SubtypeDeclRef) -> Def
fn from(id: SubtypeDeclRef) -> Def
Performs the conversion.
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<SubtypeDeclRef> for DeclInPkgRef
impl From<SubtypeDeclRef> for DeclInPkgRef
sourcefn from(id: SubtypeDeclRef) -> DeclInPkgRef
fn from(id: SubtypeDeclRef) -> DeclInPkgRef
Performs the conversion.
sourceimpl From<SubtypeDeclRef> for DeclInPkgBodyRef
impl From<SubtypeDeclRef> for DeclInPkgBodyRef
sourcefn from(id: SubtypeDeclRef) -> DeclInPkgBodyRef
fn from(id: SubtypeDeclRef) -> DeclInPkgBodyRef
Performs the conversion.
sourceimpl From<SubtypeDeclRef> for DeclInSubprogRef
impl From<SubtypeDeclRef> for DeclInSubprogRef
sourcefn from(id: SubtypeDeclRef) -> DeclInSubprogRef
fn from(id: SubtypeDeclRef) -> DeclInSubprogRef
Performs the conversion.
sourceimpl From<SubtypeDeclRef> for DeclInBlockRef
impl From<SubtypeDeclRef> for DeclInBlockRef
sourcefn from(id: SubtypeDeclRef) -> DeclInBlockRef
fn from(id: SubtypeDeclRef) -> DeclInBlockRef
Performs the conversion.
sourceimpl From<SubtypeDeclRef> for DeclInProcRef
impl From<SubtypeDeclRef> for DeclInProcRef
sourcefn from(id: SubtypeDeclRef) -> DeclInProcRef
fn from(id: SubtypeDeclRef) -> DeclInProcRef
Performs the conversion.
sourceimpl Hash for SubtypeDeclRef
impl Hash for SubtypeDeclRef
sourceimpl<'lazy, 'sb, 'ast, 'ctx> NodeMaker<SubtypeDeclRef, &'ctx SubtypeDecl> for ScoreContext<'lazy, 'sb, 'ast, 'ctx>
impl<'lazy, 'sb, 'ast, 'ctx> NodeMaker<SubtypeDeclRef, &'ctx SubtypeDecl> for ScoreContext<'lazy, 'sb, 'ast, 'ctx>
sourcefn make(&self, id: SubtypeDeclRef) -> Result<&'ctx SubtypeDecl>
fn make(&self, id: SubtypeDeclRef) -> Result<&'ctx SubtypeDecl>
Creates the node with the given ID. Read more
sourceimpl<'lazy, 'sb, 'ast, 'ctx> NodeMaker<SubtypeDeclRef, &'ctx Ty> for ScoreContext<'lazy, 'sb, 'ast, 'ctx>
impl<'lazy, 'sb, 'ast, 'ctx> NodeMaker<SubtypeDeclRef, &'ctx Ty> for ScoreContext<'lazy, 'sb, 'ast, 'ctx>
sourceimpl NodeRef for SubtypeDeclRef
impl NodeRef for SubtypeDeclRef
sourceimpl<'ast> NodeStorage<SubtypeDeclRef> for AstTable<'ast>
impl<'ast> NodeStorage<SubtypeDeclRef> for AstTable<'ast>
type Node = (ScopeRef, &'ast SubtypeDecl)
type Node = (ScopeRef, &'ast SubtypeDecl)
The type of the node that is returned when presented with an ID of type
I
. Read more
sourcefn get(&self, id: &SubtypeDeclRef) -> Option<&(ScopeRef, &'ast SubtypeDecl)>
fn get(&self, id: &SubtypeDeclRef) -> Option<&(ScopeRef, &'ast SubtypeDecl)>
Obtains a reference to the node with the given ID. Read more
sourcefn set(
&mut self,
id: SubtypeDeclRef,
node: (ScopeRef, &'ast SubtypeDecl)
) -> Option<(ScopeRef, &'ast SubtypeDecl)>
fn set(
&mut self,
id: SubtypeDeclRef,
node: (ScopeRef, &'ast SubtypeDecl)
) -> Option<(ScopeRef, &'ast SubtypeDecl)>
Store a reference to a node under the given ID. Read more
sourceimpl<'ctx> NodeStorage<SubtypeDeclRef> for HirTable<'ctx>
impl<'ctx> NodeStorage<SubtypeDeclRef> for HirTable<'ctx>
type Node = &'ctx SubtypeDecl
type Node = &'ctx SubtypeDecl
The type of the node that is returned when presented with an ID of type
I
. Read more
sourcefn get(&self, id: &SubtypeDeclRef) -> Option<&&'ctx SubtypeDecl>
fn get(&self, id: &SubtypeDeclRef) -> Option<&&'ctx SubtypeDecl>
Obtains a reference to the node with the given ID. Read more
sourcefn set(
&mut self,
id: SubtypeDeclRef,
node: &'ctx SubtypeDecl
) -> Option<&'ctx SubtypeDecl>
fn set(
&mut self,
id: SubtypeDeclRef,
node: &'ctx SubtypeDecl
) -> Option<&'ctx SubtypeDecl>
Store a reference to a node under the given ID. Read more
sourceimpl Ord for SubtypeDeclRef
impl Ord for SubtypeDeclRef
sourceimpl PartialEq<SubtypeDeclRef> for SubtypeDeclRef
impl PartialEq<SubtypeDeclRef> for SubtypeDeclRef
sourcefn eq(&self, other: &SubtypeDeclRef) -> bool
fn eq(&self, other: &SubtypeDeclRef) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SubtypeDeclRef) -> bool
fn ne(&self, other: &SubtypeDeclRef) -> bool
This method tests for !=
.
sourceimpl PartialOrd<SubtypeDeclRef> for SubtypeDeclRef
impl PartialOrd<SubtypeDeclRef> for SubtypeDeclRef
sourcefn partial_cmp(&self, other: &SubtypeDeclRef) -> Option<Ordering>
fn partial_cmp(&self, other: &SubtypeDeclRef) -> 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 SubtypeDeclRef
impl Eq for SubtypeDeclRef
impl StructuralEq for SubtypeDeclRef
impl StructuralPartialEq for SubtypeDeclRef
Auto Trait Implementations
impl RefUnwindSafe for SubtypeDeclRef
impl Send for SubtypeDeclRef
impl Sync for SubtypeDeclRef
impl Unpin for SubtypeDeclRef
impl UnwindSafe for SubtypeDeclRef
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