pub enum TextRotation {
None,
Degrees(u16),
Stacked,
}Expand description
Text rotation in degrees
Variants§
Trait Implementations§
Source§impl Clone for TextRotation
impl Clone for TextRotation
Source§fn clone(&self) -> TextRotation
fn clone(&self) -> TextRotation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TextRotation
Source§impl Debug for TextRotation
impl Debug for TextRotation
Source§impl Default for TextRotation
impl Default for TextRotation
Source§fn default() -> TextRotation
fn default() -> TextRotation
Returns the “default value” for a type. Read more
Source§impl PartialEq for TextRotation
impl PartialEq for TextRotation
Source§fn eq(&self, other: &TextRotation) -> bool
fn eq(&self, other: &TextRotation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TextRotation
Auto Trait Implementations§
impl Freeze for TextRotation
impl RefUnwindSafe for TextRotation
impl Send for TextRotation
impl Sync for TextRotation
impl Unpin for TextRotation
impl UnsafeUnpin for TextRotation
impl UnwindSafe for TextRotation
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