Struct ilmenite::shape::ImtGlyphInfo
source · [−]pub struct ImtGlyphInfo {
pub font_family: String,
pub text_height: f32,
pub word_index: usize,
pub line_index: usize,
pub pos_from_l: Option<f32>,
pub pos_from_r: Option<f32>,
pub pos_from_t: Option<f32>,
pub pos_from_b: Option<f32>,
}
Fields
font_family: String
text_height: f32
word_index: usize
line_index: usize
pos_from_l: Option<f32>
pos_from_r: Option<f32>
pos_from_t: Option<f32>
pos_from_b: Option<f32>
Trait Implementations
sourceimpl Clone for ImtGlyphInfo
impl Clone for ImtGlyphInfo
sourcefn clone(&self) -> ImtGlyphInfo
fn clone(&self) -> ImtGlyphInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for ImtGlyphInfo
impl Send for ImtGlyphInfo
impl Sync for ImtGlyphInfo
impl Unpin for ImtGlyphInfo
impl UnwindSafe for ImtGlyphInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more