Struct i_slint_core::graphics::PathQuadraticTo
source · [−]#[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
sourceimpl 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
sourceimpl Clone for PathQuadraticTo
impl Clone for PathQuadraticTo
sourcefn clone(&self) -> PathQuadraticTo
fn clone(&self) -> PathQuadraticTo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PathQuadraticTo
impl Debug for PathQuadraticTo
sourceimpl Default for PathQuadraticTo
impl Default for PathQuadraticTo
sourcefn default() -> PathQuadraticTo
fn default() -> PathQuadraticTo
Returns the “default value” for a type. Read more
sourceimpl From<PathQuadraticTo> for PathElement
impl From<PathQuadraticTo> for PathElement
sourcefn from(original: PathQuadraticTo) -> PathElement
fn from(original: PathQuadraticTo) -> PathElement
Performs the conversion.
sourceimpl PartialEq<PathQuadraticTo> for PathQuadraticTo
impl PartialEq<PathQuadraticTo> for PathQuadraticTo
sourcefn eq(&self, other: &PathQuadraticTo) -> bool
fn eq(&self, other: &PathQuadraticTo) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PathQuadraticTo) -> bool
fn ne(&self, other: &PathQuadraticTo) -> bool
This method tests for !=
.
impl StructuralPartialEq for PathQuadraticTo
impl<'__dummy_lifetime> Unpin for PathQuadraticTo where
__MustNotImplUnpin<'__dummy_lifetime>: Unpin,
Auto Trait Implementations
impl RefUnwindSafe for PathQuadraticTo
impl Send for PathQuadraticTo
impl Sync for PathQuadraticTo
impl UnwindSafe for PathQuadraticTo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more