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