pub struct HeapAlloc(pub u32);Tuple Fields§
§0: u32Trait Implementations§
Source§impl Execute<HeapAlloc> for CPU
impl Execute<HeapAlloc> for CPU
Source§type Message = PopFromStack<StackBatch<u64>>
type Message = PopFromStack<StackBatch<u64>>
Input supplied by the runtime, rather than encoded in the instruction.
Source§type Effect = PushToStack<(u32,)>
type Effect = PushToStack<(u32,)>
The successful result.
Source§impl StackInputCount<HeapAlloc> for CPU
impl StackInputCount<HeapAlloc> for CPU
fn input_count(instruction: &HeapAlloc) -> Result<InputCount>
impl StructuralPartialEq for HeapAlloc
Auto Trait Implementations§
impl Freeze for HeapAlloc
impl RefUnwindSafe for HeapAlloc
impl Send for HeapAlloc
impl Sync for HeapAlloc
impl Unpin for HeapAlloc
impl UnsafeUnpin for HeapAlloc
impl UnwindSafe for HeapAlloc
Blanket Implementations§
Source§impl<D> Apply<PushToStack<()>> for D
impl<D> Apply<PushToStack<()>> for D
Source§fn apply(&mut self, _: PushToStack<()>)
fn apply(&mut self, _: PushToStack<()>)
Apply a single effect to this destination.
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,
§impl<'src, T> IntoMaybe<'src, T> for Twhere
T: 'src,
impl<'src, T> IntoMaybe<'src, T> for Twhere
T: 'src,
impl<T> OrderedSeq<'_, T> for Twhere
T: Clone,
§impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
§type Iter<'a> = Once<&'a T>
where
T: 'a
type Iter<'a> = Once<&'a T> where T: 'a
An iterator over the items within this container, by reference.
§fn contains(&self, val: &T) -> boolwhere
T: PartialEq,
fn contains(&self, val: &T) -> boolwhere
T: PartialEq,
Check whether an item is contained within this sequence.
§fn to_maybe_ref<'b>(item: <T as Seq<'p, T>>::Item<'b>) -> Maybe<T, &'p T>where
'p: 'b,
fn to_maybe_ref<'b>(item: <T as Seq<'p, T>>::Item<'b>) -> Maybe<T, &'p T>where
'p: 'b,
Convert an item of the sequence into a [
MaybeRef].