pub enum Kind {
Frame,
Text,
Rect,
Ellipse,
Vector,
Image,
}Expand description
What a node is: the element that made it.
Variants§
Frame
A box that holds children and may lay them out.
Text
Text, set in one style.
Rect
A rectangle.
Ellipse
An ellipse filling the node’s box.
Vector
An SVG path.
Image
A PNG or JPEG file.
Trait Implementations§
impl Copy for Kind
impl StructuralPartialEq for Kind
Auto Trait Implementations§
impl Freeze 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