[][src]Trait jlrs::traits::Cast

pub unsafe trait Cast<'frame, 'data> {
    type Output;
}

This trait is implemented by types that a Value can be converted into by calling Value::cast. This includes types like String, Array, and u8.

Associated Types

type Output

Loading content...

Implementations on Foreign Types

impl<'frame, 'data> Cast<'frame, 'data> for u8[src]

type Output = Self

impl<'frame, 'data> Cast<'frame, 'data> for u16[src]

type Output = Self

impl<'frame, 'data> Cast<'frame, 'data> for u32[src]

type Output = Self

impl<'frame, 'data> Cast<'frame, 'data> for u64[src]

type Output = Self

impl<'frame, 'data> Cast<'frame, 'data> for i8[src]

type Output = Self

impl<'frame, 'data> Cast<'frame, 'data> for i16[src]

type Output = Self

impl<'frame, 'data> Cast<'frame, 'data> for i32[src]

type Output = Self

impl<'frame, 'data> Cast<'frame, 'data> for i64[src]

type Output = Self

impl<'frame, 'data> Cast<'frame, 'data> for f32[src]

type Output = Self

impl<'frame, 'data> Cast<'frame, 'data> for f64[src]

type Output = Self

impl<'frame, 'data> Cast<'frame, 'data> for usize[src]

type Output = Self

impl<'frame, 'data> Cast<'frame, 'data> for isize[src]

type Output = Self

impl<'frame, 'data> Cast<'frame, 'data> for bool[src]

type Output = Self

impl<'frame, 'data> Cast<'frame, 'data> for char[src]

type Output = Self

impl<'frame, 'data> Cast<'frame, 'data> for String[src]

type Output = Self

Loading content...

Implementors

impl<'frame, 'data> Cast<'frame, 'data> for Array<'frame, 'data>[src]

type Output = Self

impl<'frame, 'data> Cast<'frame, 'data> for DataType<'frame>[src]

type Output = Self

impl<'frame, 'data> Cast<'frame, 'data> for Module<'frame>[src]

type Output = Self

impl<'frame, 'data> Cast<'frame, 'data> for Symbol<'frame>[src]

type Output = Self

Loading content...