[−][src]Enum moore_vhdl::scope2::Def2
A definition.
Variants
Node(&'t dyn LatentNode<'t, dyn Node<'t>>)
Any node.
Lib(&'t Library<'t>)
A library.
Pkg(&'t dyn LatentNode<'t, Package2<'t>>)
A package.
Type(&'t dyn LatentNode<'t, TypeDecl2<'t>>)
A type declaration.
Enum(TypeVariantDef<'t>)
An enumeration type variant.
Unit(TypeVariantDef<'t>)
A physical type unit.
Implementations
impl<'t> Def2<'t>
[src]
Trait Implementations
impl<'t> Clone for Def2<'t>
[src]
impl<'t> Copy for Def2<'t>
[src]
impl<'t> Debug for Def2<'t>
[src]
impl<'t, C: DiagEmitter, S> DefSpecificTermContext<'t, Def2<'t>> for TermContext<C, S, Def2<'t>>
[src]
pub fn termify_defs(
&self,
name: Spanned<ResolvableName>,
mut defs: Vec<Spanned<Def2<'t>>>
) -> Result<Spanned<Term<'t>>>
[src]
&self,
name: Spanned<ResolvableName>,
mut defs: Vec<Spanned<Def2<'t>>>
) -> Result<Spanned<Term<'t>>>
impl<'t> Eq for Def2<'t>
[src]
impl<'t> PartialEq<Def2<'t>> for Def2<'t>
[src]
pub fn eq(&self, other: &Self) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'t> ScopeSpecificTermContext<'t, &'t ScopeData<'t>, Def2<'t>> for TermContext<AllocContext<'t>, &'t ScopeData<'t>, Def2<'t>>
[src]
pub fn termify_name_in_scope(
&self,
name: Spanned<ResolvableName>,
scope: &'t ScopeData<'t>
) -> Result<Spanned<Term<'t>>>
[src]
&self,
name: Spanned<ResolvableName>,
scope: &'t ScopeData<'t>
) -> Result<Spanned<Term<'t>>>
Map a resolvable name to a term, resolving it within a scope.
pub fn maybe_selectable_scope(
&self,
term: &Term<'t>
) -> Option<&'t ScopeData<'t>>
[src]
&self,
term: &Term<'t>
) -> Option<&'t ScopeData<'t>>
Auto Trait Implementations
impl<'t> !RefUnwindSafe for Def2<'t>
[src]
impl<'t> !Send for Def2<'t>
[src]
impl<'t> !Sync for Def2<'t>
[src]
impl<'t> Unpin for Def2<'t>
[src]
impl<'t> !UnwindSafe for Def2<'t>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,