Enum i_slint_core::items::PathEvent
source · #[repr(C)]
pub enum PathEvent {
Begin,
Line,
Quadratic,
Cubic,
EndOpen,
EndClosed,
}Expand description
PathEvent is a low-level data structure describing the composition of a path. Typically it is generated at compile time from a higher-level description, such as SVG commands.
Variants§
Begin
The beginning of the path.
Line
A straight line on the path.
Quadratic
A quadratic bezier curve on the path.
Cubic
A cubic bezier curve on the path.
EndOpen
The end of the path that remains open.
EndClosed
The end of a path that is closed.
Trait Implementations§
impl Copy for PathEvent
impl Eq for PathEvent
impl StructuralEq for PathEvent
impl StructuralPartialEq for PathEvent
Auto Trait Implementations§
impl RefUnwindSafe for PathEvent
impl Send for PathEvent
impl Sync for PathEvent
impl Unpin for PathEvent
impl UnwindSafe for PathEvent
Blanket Implementations§
source§impl<T> IsDefault for Twhere
T: Default + PartialEq<T> + Copy,
impl<T> IsDefault for Twhere
T: Default + PartialEq<T> + Copy,
source§fn is_default(&self) -> bool
fn is_default(&self) -> bool
Checks that type has a default value.