pub enum SvgAttribute {
Fill,
Stroke,
StrokeWidth,
}Expand description
An enumeration representing attributes used in SVG elements.
Variants§
Fill
The fill attribute used in SVG elements.
Stroke
The stroke attribute used in SVG elements.
StrokeWidth
The stroke-width attribute used in SVG elements.
Trait Implementations§
Source§impl Clone for SvgAttribute
impl Clone for SvgAttribute
Source§fn clone(&self) -> SvgAttribute
fn clone(&self) -> SvgAttribute
Returns a duplicate 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 SvgAttribute
impl Debug for SvgAttribute
Source§impl Display for SvgAttribute
impl Display for SvgAttribute
Source§impl From<SvgAttribute> for CssProperty
impl From<SvgAttribute> for CssProperty
Source§fn from(value: SvgAttribute) -> Self
fn from(value: SvgAttribute) -> Self
Converts to this type from the input type.
Source§impl Hash for SvgAttribute
impl Hash for SvgAttribute
Source§impl Ord for SvgAttribute
impl Ord for SvgAttribute
Source§fn cmp(&self, other: &SvgAttribute) -> Ordering
fn cmp(&self, other: &SvgAttribute) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SvgAttribute
impl PartialEq for SvgAttribute
Source§impl PartialOrd for SvgAttribute
impl PartialOrd for SvgAttribute
impl Copy for SvgAttribute
impl Eq for SvgAttribute
impl StructuralPartialEq for SvgAttribute
Auto Trait Implementations§
impl Freeze for SvgAttribute
impl RefUnwindSafe for SvgAttribute
impl Send for SvgAttribute
impl Sync for SvgAttribute
impl Unpin for SvgAttribute
impl UnwindSafe for SvgAttribute
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