Struct uniffi_bindgen::bindings::swift::gen_swift::callback_interface::CallbackInterfaceCodeType
source · pub struct CallbackInterfaceCodeType {
name: String,
}
Fields§
§name: String
Implementations§
Trait Implementations§
source§impl CodeType for CallbackInterfaceCodeType
impl CodeType for CallbackInterfaceCodeType
source§fn type_label(&self) -> String
fn type_label(&self) -> String
The language specific label used to reference this type. This will be used in
method signatures and property declarations.
source§fn canonical_name(&self) -> String
fn canonical_name(&self) -> String
A representation of this type label that can be used as part of another
identifier. e.g.
read_foo()
, or FooInternals
. Read moresource§fn initialization_fn(&self) -> Option<String>
fn initialization_fn(&self) -> Option<String>
Function to run at startup
fn literal(&self, _literal: &Literal) -> String
source§fn ffi_converter_name(&self) -> String
fn ffi_converter_name(&self) -> String
Name of the FfiConverter Read more
source§fn lower(&self) -> String
fn lower(&self) -> String
An expression for lowering a value into something we can pass over the FFI.
Auto Trait Implementations§
impl RefUnwindSafe for CallbackInterfaceCodeType
impl Send for CallbackInterfaceCodeType
impl Sync for CallbackInterfaceCodeType
impl Unpin for CallbackInterfaceCodeType
impl UnwindSafe for CallbackInterfaceCodeType
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