pub enum FontStretch {
Normal,
UltraCondensed,
ExtraCondensed,
Condensed,
SemiCondensed,
SemiExpanded,
Expanded,
ExtraExpanded,
UltraExpanded,
}Expand description
19.534 svg:font-stretch
See §20.8.3 of SVG.
The svg:font-stretch attribute is usable with the following element: style:font-face 16.23.
The values of the svg:font-stretch attribute are normal, ultra-condensed, extracondensed, condensed, semi-condensed, semi-expanded, expanded, extraexpanded or ultra-expanded.
Variants§
Normal
UltraCondensed
ExtraCondensed
Condensed
SemiCondensed
SemiExpanded
Expanded
ExtraExpanded
UltraExpanded
Trait Implementations§
Source§impl Clone for FontStretch
impl Clone for FontStretch
Source§fn clone(&self) -> FontStretch
fn clone(&self) -> FontStretch
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 FontStretch
impl Debug for FontStretch
Source§impl Display for FontStretch
impl Display for FontStretch
Source§impl PartialEq for FontStretch
impl PartialEq for FontStretch
impl Copy for FontStretch
impl Eq for FontStretch
impl StructuralPartialEq for FontStretch
Auto Trait Implementations§
impl Freeze for FontStretch
impl RefUnwindSafe for FontStretch
impl Send for FontStretch
impl Sync for FontStretch
impl Unpin for FontStretch
impl UnsafeUnpin for FontStretch
impl UnwindSafe for FontStretch
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.