#[repr(C)]pub struct PathLineTo {
pub x: f32,
pub y: f32,
}Available on crate feature
path only.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§
Source§impl PathLineTo
impl PathLineTo
Sourcepub const FIELD_OFFSETS: PathLineToFieldsOffsets = PathLineToFieldsOffsets
pub const FIELD_OFFSETS: PathLineToFieldsOffsets = PathLineToFieldsOffsets
Return a zero-sized helper whose methods return field offsets.
Trait Implementations§
Source§impl Clone for PathLineTo
impl Clone for PathLineTo
Source§impl Debug for PathLineTo
impl Debug for PathLineTo
Source§impl Default for PathLineTo
impl Default for PathLineTo
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 UnsafeUnpin 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