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