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