Enum hts::TypedValue[][src]

pub enum TypedValue<'a> {
    I8(&'a [i8]),
    U8(&'a [u8]),
    I16(&'a [i16]),
    U16(&'a [u16]),
    I32(&'a [i32]),
    U32(&'a [u32]),
    F(&'a [f32]),
    Str(&'a CStr),
    SStr(&'a [u8]),
    Null,
}

Variants

Str(&'a CStr)
SStr(&'a [u8])
Null

Implementations

impl<'a> TypedValue<'a>[src]

pub fn try_get_string(&self) -> Option<Cow<'_, str>>[src]

impl<'a> TypedValue<'a>[src]

pub fn get_int(&self, idx: usize) -> Option<i64>[src]

Trait Implementations

impl<'a> Debug for TypedValue<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for TypedValue<'a>

impl<'a> Send for TypedValue<'a>

impl<'a> Sync for TypedValue<'a>

impl<'a> Unpin for TypedValue<'a>

impl<'a> UnwindSafe for TypedValue<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.