pub struct Int16CodeType;

Trait Implementations§

source§

impl CodeType for Int16CodeType

source§

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 literal(&self, literal: &Literal) -> String

source§

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 more
source§

fn ffi_converter_name(&self) -> String

Name of the FfiConverter Read more
source§

fn lower(&self) -> String

An expression for lowering a value into something we can pass over the FFI.
source§

fn write(&self) -> String

An expression for writing a value into a byte buffer.
source§

fn lift(&self) -> String

An expression for lifting a value from something we received over the FFI.
source§

fn read(&self) -> String

An expression for reading a value from a byte buffer.
source§

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>

Function to run at startup
source§

impl Debug for Int16CodeType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.