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