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 more
Auto 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more