pub struct GlyphOffset {
pub x: i32,
pub y: i32,
}Expand description
How far right of the pen and up from the baseline a glyph draws, in design units.
Fields§
§x: i32How far right of the pen.
y: i32How far up from the baseline.
Trait Implementations§
Source§impl Clone for GlyphOffset
impl Clone for GlyphOffset
impl Copy for GlyphOffset
Source§impl Debug for GlyphOffset
impl Debug for GlyphOffset
Source§impl Default for GlyphOffset
impl Default for GlyphOffset
impl Eq for GlyphOffset
Source§impl PartialEq for GlyphOffset
impl PartialEq for GlyphOffset
impl StructuralPartialEq for GlyphOffset
Auto Trait Implementations§
impl Forget for GlyphOffset
impl Freeze for GlyphOffset
impl Move for GlyphOffset
impl RefUnwindSafe for GlyphOffset
impl Send for GlyphOffset
impl Sync for GlyphOffset
impl Unpin for GlyphOffset
impl UnsafeUnpin for GlyphOffset
impl UnwindSafe for GlyphOffset
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