#[repr(transparent)]pub struct ToggleState(pub i32);Tuple Fields§
§0: i32Trait Implementations§
Source§impl Abi for ToggleState
impl Abi for ToggleState
Source§type Abi = ToggleState
type Abi = ToggleState
The abi representation of the implementing type. Read more
type DefaultType = ToggleState
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 ToggleState
impl Clone for ToggleState
Source§fn clone(&self) -> ToggleState
fn clone(&self) -> ToggleState
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 ToggleState
impl Debug for ToggleState
Source§impl Default for ToggleState
impl Default for ToggleState
Source§fn default() -> ToggleState
fn default() -> ToggleState
Returns the “default value” for a type. Read more
Source§impl From<i32> for ToggleState
impl From<i32> for ToggleState
Source§impl PartialEq for ToggleState
impl PartialEq for ToggleState
impl Copy for ToggleState
impl Eq for ToggleState
impl StructuralPartialEq for ToggleState
Auto Trait Implementations§
impl Freeze for ToggleState
impl RefUnwindSafe for ToggleState
impl Send for ToggleState
impl Sync for ToggleState
impl Unpin for ToggleState
impl UnwindSafe for ToggleState
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