#[repr(C)]pub struct PathQuadraticTo {
pub x: f32,
pub y: f32,
pub control_x: f32,
pub control_y: f32,
}
Expand description
PathCubicTo describes a smooth Bézier curve from the path’s current position to the specified x/y location, using one control points.
Fields§
§x: f32
The x coordinate of the curve’s end point.
y: f32
The y coordinate of the curve’s end point.
control_x: f32
The x coordinate of the curve’s control point.
control_y: f32
The y coordinate of the curve’s control point.
Implementations§
Source§impl PathQuadraticTo
impl PathQuadraticTo
Sourcepub const FIELD_OFFSETS: PathQuadraticToFieldsOffsets
pub const FIELD_OFFSETS: PathQuadraticToFieldsOffsets
Return a struct containing the offset of for the fields of this struct
Trait Implementations§
Source§impl Clone for PathQuadraticTo
impl Clone for PathQuadraticTo
Source§fn clone(&self) -> PathQuadraticTo
fn clone(&self) -> PathQuadraticTo
Returns a copy 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 PathQuadraticTo
impl Debug for PathQuadraticTo
Source§impl Default for PathQuadraticTo
impl Default for PathQuadraticTo
Source§fn default() -> PathQuadraticTo
fn default() -> PathQuadraticTo
Returns the “default value” for a type. Read more
Source§impl From<PathQuadraticTo> for PathElement
impl From<PathQuadraticTo> for PathElement
Source§fn from(value: PathQuadraticTo) -> Self
fn from(value: PathQuadraticTo) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PathQuadraticTo
impl PartialEq for PathQuadraticTo
impl StructuralPartialEq for PathQuadraticTo
impl<'__dummy_lifetime> Unpin for PathQuadraticTowhere
__MustNotImplUnpin<'__dummy_lifetime>: Unpin,
Auto Trait Implementations§
impl Freeze for PathQuadraticTo
impl RefUnwindSafe for PathQuadraticTo
impl Send for PathQuadraticTo
impl Sync for PathQuadraticTo
impl UnwindSafe for PathQuadraticTo
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