Struct allsorts::bitmap::OriginOffset
source · [−]Expand description
Bitmap offset from glyph origin in font units.
Fields
x: i16
The horizontal (x-axis) offset from the left edge of the graphic to the glyph’s origin.
y: i16
The vertical (y-axis) offset from the bottom edge of the graphic to the glyph’s origin.
Trait Implementations
sourceimpl Debug for OriginOffset
impl Debug for OriginOffset
Auto Trait Implementations
impl RefUnwindSafe for OriginOffset
impl Send for OriginOffset
impl Sync for OriginOffset
impl Unpin for OriginOffset
impl UnwindSafe for OriginOffset
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