Struct i_slint_core::graphics::PathLineTo
source · #[repr(C)]pub struct PathLineTo {
pub x: f32,
pub y: f32,
}
Expand description
PathLineTo describes the event of moving the cursor on the path to the specified location along a straight line.
Fields§
§x: f32
The x coordinate where the line should go to.
y: f32
The y coordinate where the line should go to.
Implementations§
source§impl PathLineTo
impl PathLineTo
sourcepub const FIELD_OFFSETS: PathLineToFieldsOffsets = _
pub const FIELD_OFFSETS: PathLineToFieldsOffsets = _
Return a struct containing the offset of for the fields of this struct
Trait Implementations§
source§impl Clone for PathLineTo
impl Clone for PathLineTo
source§fn clone(&self) -> PathLineTo
fn clone(&self) -> PathLineTo
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 PathLineTo
impl Debug for PathLineTo
source§impl Default for PathLineTo
impl Default for PathLineTo
source§fn default() -> PathLineTo
fn default() -> PathLineTo
Returns the “default value” for a type. Read more
source§impl From<PathLineTo> for PathElement
impl From<PathLineTo> for PathElement
source§fn from(original: PathLineTo) -> PathElement
fn from(original: PathLineTo) -> PathElement
Converts to this type from the input type.
source§impl PartialEq for PathLineTo
impl PartialEq for PathLineTo
impl StructuralPartialEq for PathLineTo
impl<'__dummy_lifetime> Unpin for PathLineTowhere
__MustNotImplUnpin<'__dummy_lifetime>: Unpin,
Auto Trait Implementations§
impl Freeze for PathLineTo
impl RefUnwindSafe for PathLineTo
impl Send for PathLineTo
impl Sync for PathLineTo
impl UnwindSafe for PathLineTo
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
)