#[repr(C)]pub struct ExampleFtNewArgs {
pub owner_ptr: NonNull<Address>,
pub total_supply_ptr: NonNull<<Balance as IoType>::PointerType>,
pub total_supply_size: NonNull<u32>,
}
Expand description
Data structure containing expected input for external method invocation, eventually calling example_ft_new()
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§
§owner_ptr: NonNull<Address>
§total_supply_ptr: NonNull<<Balance as IoType>::PointerType>
§total_supply_size: NonNull<u32>
Size of the contents total_supply_ptr
points to
Implementations§
Trait Implementations§
Source§impl Debug for ExampleFtNewArgs
impl Debug for ExampleFtNewArgs
Source§impl ExternalArgs for ExampleFtNewArgs
impl ExternalArgs for ExampleFtNewArgs
Auto Trait Implementations§
impl Freeze for ExampleFtNewArgs
impl RefUnwindSafe for ExampleFtNewArgs
impl !Send for ExampleFtNewArgs
impl !Sync for ExampleFtNewArgs
impl Unpin for ExampleFtNewArgs
impl UnwindSafe for ExampleFtNewArgs
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