Struct sixtyfps_corelib::graphics::PathCubicTo [−][src]
#[repr(C)]pub struct PathCubicTo { pub x: f32, pub y: f32, pub control_1_x: f32, pub control_1_y: f32, pub control_2_x: f32, pub control_2_y: f32, }
PathCubicTo describes a smooth Bézier curve from the path’s current position to the specified x/y location, using two 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_1_x: f32
The x coordinate of the curve’s first control point.
control_1_y: f32
The y coordinate of the curve’s first control point.
control_2_x: f32
The x coordinate of the curve’s second control point.
control_2_y: f32
The y coordinate of the curve’s second control point.
Implementations
impl PathCubicTo
[src]
impl PathCubicTo
[src]pub const FIELD_OFFSETS: PathCubicToFieldsOffsets
[src]
Return a struct containing the offset of for the fields of this struct
Trait Implementations
impl Clone for PathCubicTo
[src]
impl Clone for PathCubicTo
[src]fn clone(&self) -> PathCubicTo
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for PathCubicTo
[src]
impl Default for PathCubicTo
[src]fn default() -> PathCubicTo
[src]
impl PartialEq<PathCubicTo> for PathCubicTo
[src]
impl PartialEq<PathCubicTo> for PathCubicTo
[src]fn eq(&self, other: &PathCubicTo) -> bool
[src]
fn ne(&self, other: &PathCubicTo) -> bool
[src]
impl StructuralPartialEq for PathCubicTo
[src]
impl StructuralPartialEq for PathCubicTo
[src]impl<'__dummy_lifetime> Unpin for PathCubicTo where
__MustNotImplUnpin<'__dummy_lifetime>: Unpin,
[src]
impl<'__dummy_lifetime> Unpin for PathCubicTo where
__MustNotImplUnpin<'__dummy_lifetime>: Unpin,
[src]Auto Trait Implementations
impl RefUnwindSafe for PathCubicTo
impl RefUnwindSafe for PathCubicTo
impl Send for PathCubicTo
impl Send for PathCubicTo
impl Sync for PathCubicTo
impl Sync for PathCubicTo
impl UnwindSafe for PathCubicTo
impl UnwindSafe for PathCubicTo