Struct moore_vhdl::hir::Slot
source · [−]pub struct Slot<'t, T>(_)
where
T: FromAst<'t> + 't;
Expand description
A placeholder for an HIR node.
Implementations
Trait Implementations
sourceimpl<'a, 't> Alloc<'a, 'a, Slot<'t, SubtypeInd2<'t>>> for Arenas2<'t> where
't: 'a,
impl<'a, 't> Alloc<'a, 'a, Slot<'t, SubtypeInd2<'t>>> for Arenas2<'t> where
't: 'a,
sourcefn alloc(
&'a self,
value: Slot<'t, SubtypeInd2<'t>>
) -> &'a mut Slot<'t, SubtypeInd2<'t>>
fn alloc(
&'a self,
value: Slot<'t, SubtypeInd2<'t>>
) -> &'a mut Slot<'t, SubtypeInd2<'t>>
Allocate a value of type T
.
Auto Trait Implementations
impl<'t, T> !RefUnwindSafe for Slot<'t, T>
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> Unpin for Slot<'t, T> where
<T as FromAst<'t>>::Context: Unpin,
<T as FromAst<'t>>::LatentInput: Unpin,
impl<'t, T> UnwindSafe for Slot<'t, T> where
T: RefUnwindSafe,
<T as FromAst<'t>>::Context: UnwindSafe,
<T as FromAst<'t>>::LatentInput: UnwindSafe,
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