pub enum SvgNodeKind {
Show 20 variants
Svg,
G,
Path,
Rect,
Circle,
Ellipse,
Line,
Polyline,
Polygon,
Text,
Tspan,
Defs,
ClipPath,
LinearGradient,
RadialGradient,
Marker,
Stop,
Image,
Use,
TextInstance,
}Variants§
Svg
G
Path
Rect
Circle
Ellipse
Line
Polyline
Polygon
Text
Tspan
Defs
ClipPath
LinearGradient
RadialGradient
Marker
Stop
Image
Use
TextInstance
Implementations§
Source§impl SvgNodeKind
impl SvgNodeKind
pub const fn primitive_name(self) -> &'static str
Trait Implementations§
Source§impl Clone for SvgNodeKind
impl Clone for SvgNodeKind
Source§fn clone(&self) -> SvgNodeKind
fn clone(&self) -> SvgNodeKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SvgNodeKind
impl Debug for SvgNodeKind
Source§impl Display for SvgNodeKind
impl Display for SvgNodeKind
Source§impl Hash for SvgNodeKind
impl Hash for SvgNodeKind
Source§impl PartialEq for SvgNodeKind
impl PartialEq for SvgNodeKind
Source§fn eq(&self, other: &SvgNodeKind) -> bool
fn eq(&self, other: &SvgNodeKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SvgNodeKind
impl Eq for SvgNodeKind
impl StructuralPartialEq for SvgNodeKind
Auto Trait Implementations§
impl Freeze for SvgNodeKind
impl RefUnwindSafe for SvgNodeKind
impl Send for SvgNodeKind
impl Sync for SvgNodeKind
impl Unpin for SvgNodeKind
impl UnsafeUnpin for SvgNodeKind
impl UnwindSafe for SvgNodeKind
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