#[repr(transparent)]pub struct SayAsInterpretAs(pub i32);
Tuple Fields§
§0: i32
Trait Implementations§
Source§impl Abi for SayAsInterpretAs
impl Abi for SayAsInterpretAs
Source§type Abi = SayAsInterpretAs
type Abi = SayAsInterpretAs
The abi representation of the implementing type. Read more
type DefaultType = SayAsInterpretAs
Source§fn ok(value: &Self::DefaultType) -> Result<Self, Error>
fn ok(value: &Self::DefaultType) -> Result<Self, Error>
Converts from
Self::DefaultType
to Result<T>
.Source§fn set_abi(&mut self) -> *mut Self::Abi
fn set_abi(&mut self) -> *mut Self::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
Source§impl Clone for SayAsInterpretAs
impl Clone for SayAsInterpretAs
Source§fn clone(&self) -> SayAsInterpretAs
fn clone(&self) -> SayAsInterpretAs
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SayAsInterpretAs
impl Debug for SayAsInterpretAs
Source§impl Default for SayAsInterpretAs
impl Default for SayAsInterpretAs
Source§fn default() -> SayAsInterpretAs
fn default() -> SayAsInterpretAs
Returns the “default value” for a type. Read more
Source§impl From<i32> for SayAsInterpretAs
impl From<i32> for SayAsInterpretAs
Source§impl PartialEq for SayAsInterpretAs
impl PartialEq for SayAsInterpretAs
impl Copy for SayAsInterpretAs
impl Eq for SayAsInterpretAs
impl StructuralPartialEq for SayAsInterpretAs
Auto Trait Implementations§
impl Freeze for SayAsInterpretAs
impl RefUnwindSafe for SayAsInterpretAs
impl Send for SayAsInterpretAs
impl Sync for SayAsInterpretAs
impl Unpin for SayAsInterpretAs
impl UnwindSafe for SayAsInterpretAs
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