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