pub struct CallTransfer<V, C> {
pub values: Vec<V>,
pub widths: Vec<usize>,
pub target: C,
}Expand description
Guest-neutral call data: a code reference and width-accounted values.
Fields§
§values: Vec<V>Values entering the target activation.
widths: Vec<usize>Logical storage width corresponding one-for-one with values.
target: CConsumer-defined reference to prepared code.
Implementations§
Source§impl<V, C> CallTransfer<V, C>
impl<V, C> CallTransfer<V, C>
Trait Implementations§
Source§impl<V: Clone, C: Clone> Clone for CallTransfer<V, C>
impl<V: Clone, C: Clone> Clone for CallTransfer<V, C>
Source§fn clone(&self) -> CallTransfer<V, C>
fn clone(&self) -> CallTransfer<V, C>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<V: Eq, C: Eq> Eq for CallTransfer<V, C>
impl<V: PartialEq, C: PartialEq> StructuralPartialEq for CallTransfer<V, C>
Auto Trait Implementations§
impl<V, C> Freeze for CallTransfer<V, C>where
C: Freeze,
impl<V, C> RefUnwindSafe for CallTransfer<V, C>where
C: RefUnwindSafe,
V: RefUnwindSafe,
impl<V, C> Send for CallTransfer<V, C>
impl<V, C> Sync for CallTransfer<V, C>
impl<V, C> Unpin for CallTransfer<V, C>
impl<V, C> UnsafeUnpin for CallTransfer<V, C>where
C: UnsafeUnpin,
impl<V, C> UnwindSafe for CallTransfer<V, C>where
C: UnwindSafe,
V: UnwindSafe,
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