#[repr(C)]pub struct ExampleFtMintArgs {
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 example_ft_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 ExampleFtMintArgs
impl Debug for ExampleFtMintArgs
Source§impl ExternalArgs for ExampleFtMintArgs
impl ExternalArgs for ExampleFtMintArgs
Auto Trait Implementations§
impl Freeze for ExampleFtMintArgs
impl RefUnwindSafe for ExampleFtMintArgs
impl !Send for ExampleFtMintArgs
impl !Sync for ExampleFtMintArgs
impl Unpin for ExampleFtMintArgs
impl UnwindSafe for ExampleFtMintArgs
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