Enum svgdom::Name
[−]
[src]
pub enum Name<T: SvgId> { Id(T), Name(String), }
A container for an SVG item name.
Variants
Id(T)
For an SVG name.
Name(String)
For an unknown name.
Methods
impl<T: SvgId> Name<T>
[src]
Trait Implementations
impl<T: Clone + SvgId> Clone for Name<T>
[src]
fn clone(&self) -> Name<T>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T: PartialEq + SvgId> PartialEq for Name<T>
[src]
fn eq(&self, __arg_0: &Name<T>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Name<T>) -> bool
[src]
This method tests for !=
.