pub enum Kind {
Layer,
Group,
Artboard {
rect: Rect,
background: Vec<Paint>,
},
Shape {
path: Path,
fills: Vec<Paint>,
strokes: Vec<Stroke>,
even_odd: bool,
},
Text(Text),
Image(Image),
Unsupported,
}Variants§
Layer
Layer container (Scop).
Group
Artboard
Artboard: a rectangle that clips its children; background paints behind them.
Shape
Curve, parametric shape or compound shape: an outline with its fills and strokes. Children of a shape are clipped by its outline (painted over its fills, under its strokes).
Text(Text)
Image(Image)
Unsupported
Something this reader does not import; its children are still imported.
Trait Implementations§
impl StructuralPartialEq for Kind
Auto Trait Implementations§
impl Forget for Kind
impl Freeze for Kind
impl Move for Kind
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnsafeUnpin for Kind
impl UnwindSafe for Kind
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