[−][src]Struct moore_vhdl::hir::SubtypeInd2
A subtype indication.
See IEEE 1076-2008 section 6.3.
Methods
impl<'t> SubtypeInd2<'t>
[src]
pub fn declared_type<C>(&self, ctx: C) -> Result<&'t dyn Type> where
C: ExprContext<'t> + Copy,
[src]
C: ExprContext<'t> + Copy,
Return the indicated type.
This function maps the subtype indication data to an actual Type
.
Trait Implementations
impl<'a, 't> Alloc<'a, 'a, SubtypeInd2<'t>> for Arenas2<'t> where
't: 'a,
[src]
't: 'a,
fn alloc(&'a self, value: SubtypeInd2<'t>) -> &'a mut SubtypeInd2<'t>
[src]
impl<'t> FromAst<'t> for SubtypeInd2<'t>
[src]
type AllocInput = &'t SubtypeInd
type LatentInput = Self::AllocInput
type Context = AllocContext<'t>
type Latent = &'t Slot<'t, Self>
fn alloc_slot(
ast: Self::AllocInput,
context: Self::Context
) -> Result<Self::Latent>
[src]
ast: Self::AllocInput,
context: Self::Context
) -> Result<Self::Latent>
fn from_ast(ast: Self::LatentInput, context: Self::Context) -> Result<Self>
[src]
impl<'t> Node<'t> for SubtypeInd2<'t>
[src]
fn span(&self) -> Span
[src]
fn desc_kind(&self) -> String
[src]
fn desc_name(&self) -> String
[src]
fn accept(&'t self, visitor: &mut dyn Visitor<'t>)
[src]
fn walk(&'t self, visitor: &mut dyn Visitor<'t>)
[src]
impl<'t> Debug for SubtypeInd2<'t>
[src]
Auto Trait Implementations
impl<'t> Send for SubtypeInd2<'t>
impl<'t> Sync for SubtypeInd2<'t>
impl<'t> Unpin for SubtypeInd2<'t>
impl<'t> UnwindSafe for SubtypeInd2<'t>
impl<'t> RefUnwindSafe for SubtypeInd2<'t>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for 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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,