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