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