#[repr(C, u8)]pub enum SvgSimpleNode {
Path(SvgPath),
Circle(SvgCircle),
Rect(SvgRect),
CircleHole(SvgCircle),
RectHole(SvgRect),
}
Expand description
One SvgSimpleNode
is either a path, a rect or a circle
Variants§
Implementations§
Source§impl SvgSimpleNode
impl SvgSimpleNode
Trait Implementations§
Source§impl Clone for SvgSimpleNode
impl Clone for SvgSimpleNode
Source§fn clone(&self) -> SvgSimpleNode
fn clone(&self) -> SvgSimpleNode
Returns a copy of the value. Read more
1.0.0 · 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 SvgSimpleNode
impl Debug for SvgSimpleNode
Source§impl FromIterator<SvgSimpleNode> for SvgSimpleNodeVec
impl FromIterator<SvgSimpleNode> for SvgSimpleNodeVec
Source§fn from_iter<T>(iter: T) -> SvgSimpleNodeVecwhere
T: IntoIterator<Item = SvgSimpleNode>,
fn from_iter<T>(iter: T) -> SvgSimpleNodeVecwhere
T: IntoIterator<Item = SvgSimpleNode>,
Creates a value from an iterator. Read more
Source§impl PartialEq for SvgSimpleNode
impl PartialEq for SvgSimpleNode
Source§impl PartialOrd for SvgSimpleNode
impl PartialOrd for SvgSimpleNode
impl StructuralPartialEq for SvgSimpleNode
Auto Trait Implementations§
impl Freeze for SvgSimpleNode
impl RefUnwindSafe for SvgSimpleNode
impl Send for SvgSimpleNode
impl Sync for SvgSimpleNode
impl Unpin for SvgSimpleNode
impl UnwindSafe for SvgSimpleNode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more