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