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