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§
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(original: PathQuadraticTo) -> PathElement
fn from(original: PathQuadraticTo) -> PathElement
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)