[−][src]Struct moore_vhdl::hir::Slot
A placeholder for an HIR node.
Methods
impl<'t, T> Slot<'t, T> where
T: FromAst<'t>,
T::Context: for<'a> Alloc<'a, 't, T> + Clone,
[src]
impl<'t, T> Slot<'t, T> where
T: FromAst<'t>,
T::Context: for<'a> Alloc<'a, 't, T> + Clone,
pub fn new(ast: T::LatentInput, context: T::Context) -> Slot<'t, T> | [src] |
Create a new slot.
pub fn poll(&self) -> Result<&'t T> | [src] |
Poll the slot, creating the HIR node from the AST the first time.
Trait Implementations
impl<'a, 't> Alloc<'a, 'a, Slot<'t, Package2<'t>>> for Arenas2<'t> where
't: 'a,
[src]
impl<'a, 't> Alloc<'a, 'a, Slot<'t, Package2<'t>>> for Arenas2<'t> where
't: 'a,
impl<'a, 't> Alloc<'a, 'a, Slot<'t, TypeDecl2<'t>>> for Arenas2<'t> where
't: 'a,
[src]
impl<'a, 't> Alloc<'a, 'a, Slot<'t, TypeDecl2<'t>>> for Arenas2<'t> where
't: 'a,
impl<'a, 't> Alloc<'a, 'a, Slot<'t, SubtypeInd2<'t>>> for Arenas2<'t> where
't: 'a,
[src]
impl<'a, 't> Alloc<'a, 'a, Slot<'t, SubtypeInd2<'t>>> for Arenas2<'t> where
't: 'a,
fn alloc( | [src] |
impl<'a, 't> Alloc<'a, 'a, Slot<'t, ConstDecl<'t>>> for Arenas2<'t> where
't: 'a,
[src]
impl<'a, 't> Alloc<'a, 'a, Slot<'t, ConstDecl<'t>>> for Arenas2<'t> where
't: 'a,
impl<'t, T, L: ?Sized> LatentNode<'t, L> for Slot<'t, T> where
&'t T: Into<&'t L>,
L: 't,
T: FromAst<'t> + Node<'t>,
T::Context: for<'a> Alloc<'a, 't, T> + Clone,
[src]
impl<'t, T, L: ?Sized> LatentNode<'t, L> for Slot<'t, T> where
&'t T: Into<&'t L>,
L: 't,
T: FromAst<'t> + Node<'t>,
T::Context: for<'a> Alloc<'a, 't, T> + Clone,
fn poll(&self) -> Result<&'t L> | [src] |
fn accept(&self, visitor: &mut dyn Visitor<'t>) | [src] |
fn walk(&self, visitor: &mut dyn Visitor<'t>) | [src] |
impl<'t, T> Debug for Slot<'t, T> where
T: FromAst<'t>,
[src]
impl<'t, T> Debug for Slot<'t, T> where
T: FromAst<'t>,
Auto Trait Implementations
impl<'t, T> Send for Slot<'t, T> where
T: Sync,
<T as FromAst<'t>>::Context: Send,
<T as FromAst<'t>>::LatentInput: Send,
impl<'t, T> Send for Slot<'t, T> where
T: Sync,
<T as FromAst<'t>>::Context: Send,
<T as FromAst<'t>>::LatentInput: Send,
impl<'t, T> !Sync for Slot<'t, T>
impl<'t, T> !Sync for Slot<'t, T>
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)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> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,