#[repr(C)]pub struct PlaygroundMintArgs {
pub to_ptr: NonNull<Address>,
pub value_ptr: NonNull<<Balance as IoType>::PointerType>,
pub value_size: NonNull<u32>,
}
Expand description
Data structure containing expected input for external method invocation, eventually calling playground_mint()
on the other side by the host.
This can be used with Env
, though there are helper methods on this provided by extension trait that allow not dealing with this struct directly in simpler cases.
Fields§
§to_ptr: NonNull<Address>
§value_ptr: NonNull<<Balance as IoType>::PointerType>
§value_size: NonNull<u32>
Size of the contents value_ptr
points to
Implementations§
Trait Implementations§
Source§impl Debug for PlaygroundMintArgs
impl Debug for PlaygroundMintArgs
Source§impl ExternalArgs for PlaygroundMintArgs
impl ExternalArgs for PlaygroundMintArgs
Auto Trait Implementations§
impl Freeze for PlaygroundMintArgs
impl RefUnwindSafe for PlaygroundMintArgs
impl !Send for PlaygroundMintArgs
impl !Sync for PlaygroundMintArgs
impl Unpin for PlaygroundMintArgs
impl UnwindSafe for PlaygroundMintArgs
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