Enum i_slint_core::PathData
source · #[repr(C)]pub enum PathData {
None,
Elements(SharedVector<PathElement>),
Events(SharedVector<PathEvent>, SharedVector<Point>),
Commands(SharedString),
}
Expand description
PathData represents a path described by either high-level elements or low-level events and coordinates.
Variants§
None
None is the variant when the path is empty.
Elements(SharedVector<PathElement>)
The Elements variant is used to make a Path from shared arrays of elements.
Events(SharedVector<PathEvent>, SharedVector<Point>)
The Events variant describes the path as a series of low-level events and associated coordinates.
Commands(SharedString)
The Commands variant describes the path as a series of SVG encoded path commands.
Implementations§
Trait Implementations§
impl StructuralPartialEq for PathData
Auto Trait Implementations§
impl Freeze for PathData
impl RefUnwindSafe for PathData
impl Send for PathData
impl !Sync for PathData
impl Unpin for PathData
impl UnwindSafe for PathData
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
)