Enum usvg::FontVariant
source · pub enum FontVariant {
Normal,
SmallCaps,
}
Expand description
A font variant.
font-variant
attribute in the SVG.
Variants
Normal
SmallCaps
Trait Implementations
sourceimpl Clone for FontVariant
impl Clone for FontVariant
sourcefn clone(&self) -> FontVariant
fn clone(&self) -> FontVariant
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for FontVariant
impl Debug for FontVariant
sourceimpl PartialEq<FontVariant> for FontVariant
impl PartialEq<FontVariant> for FontVariant
sourcefn eq(&self, other: &FontVariant) -> bool
fn eq(&self, other: &FontVariant) -> bool
sourceimpl ToString for FontVariant
impl ToString for FontVariant
impl Copy for FontVariant
impl StructuralPartialEq for FontVariant
Auto Trait Implementations
impl RefUnwindSafe for FontVariant
impl Send for FontVariant
impl Sync for FontVariant
impl Unpin for FontVariant
impl UnwindSafe for FontVariant
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more