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