Struct i_slint_core::graphics::PathLineTo
source · [−]Expand description
PathLineTo describes the event of moving the cursor on the path to the specified location along a straight line.
Fields
x: f32The x coordinate where the line should go to.
y: f32The y coordinate where the line should go to.
Implementations
sourceimpl 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
sourceimpl Clone for PathLineTo
impl Clone for PathLineTo
sourcefn clone(&self) -> PathLineTo
fn clone(&self) -> PathLineTo
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 moresourceimpl Debug for PathLineTo
impl Debug for PathLineTo
sourceimpl Default for PathLineTo
impl Default for PathLineTo
sourcefn default() -> PathLineTo
fn default() -> PathLineTo
Returns the “default value” for a type. Read more
sourceimpl From<PathLineTo> for PathElement
impl From<PathLineTo> for PathElement
sourcefn from(original: PathLineTo) -> PathElement
fn from(original: PathLineTo) -> PathElement
Converts to this type from the input type.
sourceimpl PartialEq<PathLineTo> for PathLineTo
impl PartialEq<PathLineTo> for PathLineTo
sourcefn eq(&self, other: &PathLineTo) -> bool
fn eq(&self, other: &PathLineTo) -> bool
impl StructuralPartialEq for PathLineTo
impl<'__dummy_lifetime> Unpin for PathLineTowhere
__MustNotImplUnpin<'__dummy_lifetime>: Unpin,
Auto Trait Implementations
impl RefUnwindSafe for PathLineTo
impl Send for PathLineTo
impl Sync for PathLineTo
impl UnwindSafe for PathLineTo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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