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: f32
The x coordinate where the line should go to.
y: f32
The 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 more
sourceimpl 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
Performs the conversion.
sourceimpl PartialEq<PathLineTo> for PathLineTo
impl PartialEq<PathLineTo> for PathLineTo
sourcefn eq(&self, other: &PathLineTo) -> bool
fn eq(&self, other: &PathLineTo) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PathLineTo) -> bool
fn ne(&self, other: &PathLineTo) -> bool
This method tests for !=
.
impl StructuralPartialEq for PathLineTo
impl<'__dummy_lifetime> Unpin for PathLineTo where
__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 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)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more