#[repr(i32)]pub enum TextFormat {
Small = 0,
Medium = 1,
Large = 2,
MediumCenter = 3,
LargeCenter = 4,
}Expand description
Options for how a text object should be formatted.
Variants§
Small = 0
Small text.
Medium = 1
Medium text.
Large = 2
Large text.
MediumCenter = 3
Medium horizontally centered text.
LargeCenter = 4
Large horizontally centered text.
Trait Implementations§
Source§impl Clone for TextFormat
impl Clone for TextFormat
Source§fn clone(&self) -> TextFormat
fn clone(&self) -> TextFormat
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 TextFormat
impl Debug for TextFormat
Source§impl From<TextFormat> for text_format_e_t
impl From<TextFormat> for text_format_e_t
Source§fn from(value: TextFormat) -> text_format_e_t
fn from(value: TextFormat) -> text_format_e_t
Converts to this type from the input type.
Source§impl PartialEq for TextFormat
impl PartialEq for TextFormat
impl Copy for TextFormat
impl Eq for TextFormat
impl StructuralPartialEq for TextFormat
Auto Trait Implementations§
impl Freeze for TextFormat
impl RefUnwindSafe for TextFormat
impl Send for TextFormat
impl Sync for TextFormat
impl Unpin for TextFormat
impl UnwindSafe for TextFormat
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