Struct uniffi_bindgen::bindings::swift::gen_swift::primitives::Int16CodeType
source · pub struct Int16CodeType;
Trait Implementations§
source§impl CodeType for Int16CodeType
impl CodeType for Int16CodeType
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.
fn literal(&self, literal: &Literal) -> String
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 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.
source§fn lift(&self) -> String
fn lift(&self) -> String
An expression for lifting a value from something we received over the FFI.
source§fn imports(&self) -> Option<Vec<String>>
fn imports(&self) -> Option<Vec<String>>
A list of imports that are needed if this type is in use.
Classes are imported exactly once.
source§fn initialization_fn(&self) -> Option<String>
fn initialization_fn(&self) -> Option<String>
Function to run at startup
Auto Trait Implementations§
impl RefUnwindSafe for Int16CodeType
impl Send for Int16CodeType
impl Sync for Int16CodeType
impl Unpin for Int16CodeType
impl UnwindSafe for Int16CodeType
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