pub struct Vertex {
pub point: Point,
pub in_tangent: Vec2,
pub out_tangent: Vec2,
}Expand description
One vertex of a Bezier subpath, in pixels: a point and its tangents relative to it.
Fields§
§point: PointWhere it lies.
in_tangent: Vec2The control point of the segment ending here, relative to point.
out_tangent: Vec2The control point of the segment starting here, relative to point.
Trait Implementations§
impl Copy for Vertex
impl StructuralPartialEq for Vertex
Auto Trait Implementations§
impl Freeze for Vertex
impl RefUnwindSafe for Vertex
impl Send for Vertex
impl Sync for Vertex
impl Unpin for Vertex
impl UnsafeUnpin for Vertex
impl UnwindSafe for Vertex
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