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