Trait windows::Abi [−][src]
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
type Abi
[src]
The abi representation of the implementing type.
SAFETY: Self
and Abi
must have the same exact in-memory representation.
Provided methods
fn abi(&self) -> Self::Abi
[src]
Casts the Rust object to its ABI type without copying the object.
fn set_abi(&mut self) -> *mut Self::Abi
[src]
Returns a pointer for setting the object’s value via an ABI call.
unsafe fn from_abi(abi: Self::Abi) -> Result<Self>
[src]
Casts the ABI representation to a Rust object by taking ownership of the bits.