Struct freetype::glyph_slot::SubGlyphInfo
source · [−]pub struct SubGlyphInfo {
pub index: i32,
pub flags: u32,
pub arg1: i32,
pub arg2: i32,
pub transform: FT_Matrix,
}
Expand description
A description of a given subglyph returned by GlyphSlot::get_subglyph_info
function.
Fields
index: i32
The glyph index of the subglyph.
flags: u32
The subglyph flags, see FT_SUBGLYPH_FLAG_XXX.
arg1: i32
The subglyph’s first argument (if any).
arg2: i32
The subglyph’s second argument (if any).
transform: FT_Matrix
The subglyph transformation (if any).
Trait Implementations
sourceimpl Clone for SubGlyphInfo
impl Clone for SubGlyphInfo
sourcefn clone(&self) -> SubGlyphInfo
fn clone(&self) -> SubGlyphInfo
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
sourceimpl Default for SubGlyphInfo
impl Default for SubGlyphInfo
impl Copy for SubGlyphInfo
Auto Trait Implementations
impl RefUnwindSafe for SubGlyphInfo
impl Send for SubGlyphInfo
impl Sync for SubGlyphInfo
impl Unpin for SubGlyphInfo
impl UnwindSafe for SubGlyphInfo
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