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