[][src]Struct rust_icu_udata::UDataMemory

pub struct UDataMemory { /* fields omitted */ }

Implements UDataMemory.

Represents data memory backed by a borrowed memory buffer used for loading ICU data. UDataMemory is very much not thread safe, as it affects the global state of the ICU library. This suggests that the best way to use this data is to load it up in a main thread, or access it through a synchronized wrapper.

Trait Implementations

impl Debug for UDataMemory[src]

impl Drop for UDataMemory[src]

impl TryFrom<Vec<u8>> for UDataMemory[src]

type Error = Error

The type returned in the event of a conversion error.

fn try_from(buf: Vec<u8>) -> Result<Self, Self::Error>[src]

Makes a UDataMemory out of a buffer.

Implements udata_setCommonData.

Auto Trait Implementations

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.