#[repr(transparent)]pub struct NtmsAllocationPolicy(pub i32);Tuple Fields§
§0: i32Trait Implementations§
Source§impl Abi for NtmsAllocationPolicy
impl Abi for NtmsAllocationPolicy
Source§type Abi = NtmsAllocationPolicy
type Abi = NtmsAllocationPolicy
The abi representation of the implementing type. Read more
type DefaultType = NtmsAllocationPolicy
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 NtmsAllocationPolicy
impl Clone for NtmsAllocationPolicy
Source§fn clone(&self) -> NtmsAllocationPolicy
fn clone(&self) -> NtmsAllocationPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NtmsAllocationPolicy
Source§impl Debug for NtmsAllocationPolicy
impl Debug for NtmsAllocationPolicy
Source§impl Default for NtmsAllocationPolicy
impl Default for NtmsAllocationPolicy
Source§fn default() -> NtmsAllocationPolicy
fn default() -> NtmsAllocationPolicy
Returns the “default value” for a type. Read more
impl Eq for NtmsAllocationPolicy
Source§impl From<i32> for NtmsAllocationPolicy
impl From<i32> for NtmsAllocationPolicy
Source§impl PartialEq for NtmsAllocationPolicy
impl PartialEq for NtmsAllocationPolicy
impl StructuralPartialEq for NtmsAllocationPolicy
Auto Trait Implementations§
impl Freeze for NtmsAllocationPolicy
impl RefUnwindSafe for NtmsAllocationPolicy
impl Send for NtmsAllocationPolicy
impl Sync for NtmsAllocationPolicy
impl Unpin for NtmsAllocationPolicy
impl UnsafeUnpin for NtmsAllocationPolicy
impl UnwindSafe for NtmsAllocationPolicy
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