Trait windows::Abi [−][src]
pub unsafe trait Abi: Sized { type Abi; fn abi(&self) -> Self::Abi { ... } fn set_abi(&mut self) -> *mut Self::Abi { ... } unsafe fn from_abi(abi: Self::Abi) -> Result<Self> { ... } fn drop_param(_: &mut Param<'_, Self>) { ... } }
Expand description
Provides a generic way of referring to and converting between a Rust object and its ABI equivalent.
This trait is automatically used by the generated bindings and should not be used directly.
Associated Types
Provided methods
Returns a pointer for setting the object’s value via an ABI call.
Casts the ABI representation to a Rust object by taking ownership of the bits.
fn drop_param(_: &mut Param<'_, Self>)