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