Struct lcms2::MLU
[−]
pub struct MLU(_);
Methods
impl MLU
[src]
Methods from Deref<Target = MLURef>
fn set_text_ascii(&mut self, text: &str, locale: Locale) -> bool
fn set_text(&mut self, text: &str, locale: Locale) -> bool
fn text_ascii(&self, locale: Locale) -> LCMSResult<CString>
fn text(&self, locale: Locale) -> LCMSResult<String>
fn tanslations(&self) -> Vec<Locale>
fn tanslation(&self, locale: Locale) -> LCMSResult<Locale>
Obtains the translation rule for given multilocalized unicode object.
Trait Implementations
impl ForeignType for MLU
type CType = MLU
The raw C type.
type Ref = MLURef
The type representing a reference to this type.
unsafe fn from_ptr(ptr: *mut MLU) -> MLU
Constructs an instance of this type from its raw type.
fn as_ptr(&self) -> *mut MLU
Returns a raw pointer to the wrapped value.
impl Drop for MLU
impl Deref for MLU
type Target = MLURef
The resulting type after dereferencing
fn deref(&self) -> &MLURef
The method called to dereference a value