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