Enum i_slint_core::items::PathEvent
source · [−]#[repr(C)]
pub enum PathEvent {
begin,
line,
quadratic,
cubic,
end_open,
end_closed,
}
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.
end_open
The end of the path that remains open.
end_closed
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
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