Struct sixtyfps_corelib::graphics::PathQuadraticTo[][src]

#[repr(C)]
pub struct PathQuadraticTo { pub x: f32, pub y: f32, pub control_x: f32, pub control_y: f32, }

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

impl PathQuadraticTo[src]

pub const FIELD_OFFSETS: PathQuadraticToFieldsOffsets[src]

Return a struct containing the offset of for the fields of this struct

Trait Implementations

impl Clone for PathQuadraticTo[src]

impl Debug for PathQuadraticTo[src]

impl Default for PathQuadraticTo[src]

impl PartialEq<PathQuadraticTo> for PathQuadraticTo[src]

impl StructuralPartialEq for PathQuadraticTo[src]

impl<'__dummy_lifetime> Unpin for PathQuadraticTo where
    __MustNotImplUnpin<'__dummy_lifetime>: Unpin
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.