Struct ilmenite::parse::ImtParser [−][src]
pub struct ImtParser { /* fields omitted */ }
Implementations
impl ImtParser
[src]
impl ImtParser
[src]pub fn new(bytes: Vec<u8>) -> Result<Self, ImtError>
[src]
pub fn font_props(&self) -> ImtFontProps
[src]
pub fn retreive_text<T: AsRef<str>>(
&self,
text: T,
script: ImtScript,
lang: ImtLang
) -> Result<Vec<Arc<ImtParsedGlyph>>, ImtError>
[src]
&self,
text: T,
script: ImtScript,
lang: ImtLang
) -> Result<Vec<Arc<ImtParsedGlyph>>, ImtError>
pub fn retreive_info(
&self,
raw_glyphs: Vec<RawGlyph<()>>,
script: ImtScript,
lang: ImtLang
) -> Result<Vec<Info>, ImtError>
[src]
&self,
raw_glyphs: Vec<RawGlyph<()>>,
script: ImtScript,
lang: ImtLang
) -> Result<Vec<Info>, ImtError>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ImtParser
impl Send for ImtParser
impl Sync for ImtParser
impl Unpin for ImtParser
impl !UnwindSafe for ImtParser
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Content for T
[src]
impl<T> Content for T
[src]pub fn ref_from_ptr(ptr: *mut c_void, size: usize) -> Option<*mut T>
[src]
pub fn ref_from_ptr(ptr: *mut c_void, size: usize) -> Option<*mut T>
[src]Builds a pointer to this type from a raw pointer.
pub fn is_size_suitable(size: usize) -> bool
[src]
pub fn is_size_suitable(size: usize) -> bool
[src]Returns true if the size is suitable to store a type like this.
pub fn indiv_size() -> usize
[src]
pub fn indiv_size() -> usize
[src]Returns the size of an individual element.
impl<T> Pointable for T
impl<T> Pointable for T
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,