Enum uniffi_bindgen::interface::ffi::FfiDefinition
source · pub enum FfiDefinition {
Function(FfiFunction),
CallbackFunction(FfiCallbackFunction),
Struct(FfiStruct),
}
Expand description
An Ffi definition
Variants§
Implementations§
Trait Implementations§
source§impl Clone for FfiDefinition
impl Clone for FfiDefinition
source§fn clone(&self) -> FfiDefinition
fn clone(&self) -> FfiDefinition
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 FfiDefinition
impl Debug for FfiDefinition
source§impl From<FfiCallbackFunction> for FfiDefinition
impl From<FfiCallbackFunction> for FfiDefinition
source§fn from(value: FfiCallbackFunction) -> FfiDefinition
fn from(value: FfiCallbackFunction) -> FfiDefinition
Converts to this type from the input type.
source§impl From<FfiFunction> for FfiDefinition
impl From<FfiFunction> for FfiDefinition
source§fn from(value: FfiFunction) -> FfiDefinition
fn from(value: FfiFunction) -> FfiDefinition
Converts to this type from the input type.
source§impl From<FfiStruct> for FfiDefinition
impl From<FfiStruct> for FfiDefinition
source§fn from(value: FfiStruct) -> FfiDefinition
fn from(value: FfiStruct) -> FfiDefinition
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for FfiDefinition
impl Send for FfiDefinition
impl Sync for FfiDefinition
impl Unpin for FfiDefinition
impl UnwindSafe for FfiDefinition
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