Struct Argument
Source #[repr(C)]
pub struct Argument();
Expand description
Represents the byte length of the Argument.
Represents the default value of the Argument.
Sets the rw
field of the Argument.
§Note
If mode is set to Read, sets the data
field to zero.
Gets the data
field of the Argument.
§Note
Only relevant when the rw
field is set to Write.
Sets the data
field of the Argument.
§Note
Also sets the rw
field to Write.
Converts the Argument into a byte array.
Attempts to convert a byte slice into an Argument
.
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more
Returns the “default value” for a type.
Read more
Converts to this type from the input type.
Converts to this type from the input type.
Tests for self
and other
values to be equal, and is used by ==
.
Tests for !=
. The default implementation is almost always sufficient,
and should not be overridden without very good reason.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
🔬This is a nightly-only experimental API. (clone_to_uninit
)
Performs copy-assignment from
self
to
dest
.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.