Struct rustc_middle::hir::Owner [−][src]
pub struct Owner<'tcx> {
node: Node<'tcx>,
}Fields
node: Node<'tcx>Trait Implementations
impl<'tcx> ArenaAllocatable<'tcx, Owner<'tcx>> for Owner<'tcx>[src]
impl<'tcx> ArenaAllocatable<'tcx, Owner<'tcx>> for Owner<'tcx>[src]fn allocate_on<'a>(self, arena: &'a Arena<'tcx>) -> &'a mut Self[src]
fn allocate_from_iter<'a>(
arena: &'a Arena<'tcx>,
iter: impl IntoIterator<Item = Self>
) -> &'a mut [Self]ⓘ[src]
arena: &'a Arena<'tcx>,
iter: impl IntoIterator<Item = Self>
) -> &'a mut [Self]ⓘ
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for Owner<'tcx>[src]
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for Owner<'tcx>[src]fn hash_stable(
&self,
hcx: &mut StableHashingContext<'a>,
hasher: &mut StableHasher
)[src]
&self,
hcx: &mut StableHashingContext<'a>,
hasher: &mut StableHasher
)
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for Owner<'tcx>
impl<'tcx> !Send for Owner<'tcx>
impl<'tcx> !Sync for Owner<'tcx>
impl<'tcx> Unpin for Owner<'tcx>
impl<'tcx> !UnwindSafe for Owner<'tcx>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> MaybeResult<T> for T[src]
impl<T> MaybeResult<T> for T[src]impl<T> WithConstness for T[src]
impl<T> WithConstness for T[src]fn with_constness(self, constness: Constness) -> ConstnessAnd<Self>[src]
fn with_const(self) -> ConstnessAnd<Self>[src]
fn without_const(self) -> ConstnessAnd<Self>[src]
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,