pub struct OutlinePiece {
pub degree: usize,
pub points: Vec<FontPoint>,
}Expand description
One piece of a contour: a polynomial B-spline of degree through
points, its control points, on clamped uniform knots — a line, a
quadratic or a cubic Bézier, or a run of quadratics joined smoothly.
Fields§
§degree: usize§points: Vec<FontPoint>Trait Implementations§
Source§impl Clone for OutlinePiece
impl Clone for OutlinePiece
Source§fn clone(&self) -> OutlinePiece
fn clone(&self) -> OutlinePiece
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OutlinePiece
impl Debug for OutlinePiece
Source§impl PartialEq for OutlinePiece
impl PartialEq for OutlinePiece
impl StructuralPartialEq for OutlinePiece
Auto Trait Implementations§
impl Freeze for OutlinePiece
impl RefUnwindSafe for OutlinePiece
impl Send for OutlinePiece
impl Sync for OutlinePiece
impl Unpin for OutlinePiece
impl UnsafeUnpin for OutlinePiece
impl UnwindSafe for OutlinePiece
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