pub enum RotationScale {
Fixed,
LineHeight,
}Expand description
20.386 style:text-rotation-scale The style:text-rotation-scale attribute specifies whether for rotated text the width of the text should be scaled to fit into the current line height or the width of the text should remain fixed, therefore changing the current line height.
The defined values for the style:text-rotation-scale attribute are:
- fixed: width of text should remain fixed.
- line-height: width of text should be scaled to fit the current line height.
The values of the style:text-rotation-scale attribute are fixed or line-height
Variants§
Trait Implementations§
Source§impl Clone for RotationScale
impl Clone for RotationScale
Source§fn clone(&self) -> RotationScale
fn clone(&self) -> RotationScale
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 RotationScale
impl Debug for RotationScale
Source§impl Display for RotationScale
impl Display for RotationScale
Source§impl PartialEq for RotationScale
impl PartialEq for RotationScale
impl Copy for RotationScale
impl Eq for RotationScale
impl StructuralPartialEq for RotationScale
Auto Trait Implementations§
impl Freeze for RotationScale
impl RefUnwindSafe for RotationScale
impl Send for RotationScale
impl Sync for RotationScale
impl Unpin for RotationScale
impl UnwindSafe for RotationScale
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.