#[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(value: PathLineTo) -> Self
fn from(value: PathLineTo) -> Self
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