#[repr(transparent)]pub struct ApplicationType(pub i32);Tuple Fields§
§0: i32Implementations§
Source§impl ApplicationType
impl ApplicationType
pub const ServerApplication: Self
pub const LibraryApplication: Self
Trait Implementations§
Source§impl Abi for ApplicationType
impl Abi for ApplicationType
Source§type Abi = ApplicationType
type Abi = ApplicationType
The abi representation of the implementing type. Read more
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.
Source§unsafe fn from_abi(abi: Self::Abi) -> Result<Self, Error>
unsafe fn from_abi(abi: Self::Abi) -> Result<Self, Error>
Casts the ABI representation to a Rust object by taking ownership of the bits.
fn drop_param(_: &mut Param<'_, Self>)
Source§impl Clone for ApplicationType
impl Clone for ApplicationType
Source§fn clone(&self) -> ApplicationType
fn clone(&self) -> ApplicationType
Returns a duplicate 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 ApplicationType
impl Debug for ApplicationType
Source§impl Default for ApplicationType
impl Default for ApplicationType
Source§fn default() -> ApplicationType
fn default() -> ApplicationType
Returns the “default value” for a type. Read more
Source§impl From<i32> for ApplicationType
impl From<i32> for ApplicationType
Source§impl PartialEq for ApplicationType
impl PartialEq for ApplicationType
impl Copy for ApplicationType
impl Eq for ApplicationType
impl StructuralPartialEq for ApplicationType
Auto Trait Implementations§
impl Freeze for ApplicationType
impl RefUnwindSafe for ApplicationType
impl Send for ApplicationType
impl Sync for ApplicationType
impl Unpin for ApplicationType
impl UnwindSafe for ApplicationType
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