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§
source§impl Clone for SubGlyphInfo
impl Clone for SubGlyphInfo
source§fn clone(&self) -> SubGlyphInfo
fn clone(&self) -> SubGlyphInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more