pub struct PackedPoint {
pub x: i8,
pub y: i8,
pub pen: bool,
}Expand description
A point, in compact representation. Used to store the points which make up an individual glyph.
Fields§
§x: i8X coordinate of this point
y: i8Y coordinate of this point
pen: boolShould a line be drawn (i.e., “pen down”) when moving to this point?
Trait Implementations§
Source§impl Clone for PackedPoint
impl Clone for PackedPoint
Source§fn clone(&self) -> PackedPoint
fn clone(&self) -> PackedPoint
Returns a duplicate 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 Debug for PackedPoint
impl Debug for PackedPoint
impl Copy for PackedPoint
Auto Trait Implementations§
impl Freeze for PackedPoint
impl RefUnwindSafe for PackedPoint
impl Send for PackedPoint
impl Sync for PackedPoint
impl Unpin for PackedPoint
impl UnsafeUnpin for PackedPoint
impl UnwindSafe for PackedPoint
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