pub enum PointerBase<B: Builder> {
Address(B::Value),
StackSlot(B::StackSlot),
}
Expand description
The base of a pointer. Either an address or a stack slot.
Variants§
Trait Implementations§
Source§impl<B: Clone + Builder> Clone for PointerBase<B>
impl<B: Clone + Builder> Clone for PointerBase<B>
Source§fn clone(&self) -> PointerBase<B>
fn clone(&self) -> PointerBase<B>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl<B: Copy + Builder> Copy for PointerBase<B>
Auto Trait Implementations§
impl<B> Freeze for PointerBase<B>
impl<B> RefUnwindSafe for PointerBase<B>
impl<B> Send for PointerBase<B>
impl<B> Sync for PointerBase<B>
impl<B> Unpin for PointerBase<B>
impl<B> UnwindSafe for PointerBase<B>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.