pub struct TextFormat(/* private fields */);Expand description
C++ enum: Qt::TextFormat.
Implementations§
Source§impl TextFormat
impl TextFormat
Sourcepub const PlainText: TextFormat
pub const PlainText: TextFormat
C++ enum variant: PlainText = 0
Sourcepub const RichText: TextFormat
pub const RichText: TextFormat
C++ enum variant: RichText = 1
Sourcepub const AutoText: TextFormat
pub const AutoText: TextFormat
C++ enum variant: AutoText = 2
Sourcepub const MarkdownText: TextFormat
pub const MarkdownText: TextFormat
C++ enum variant: MarkdownText = 3
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 (const: unstable) · 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 c_int
impl From<TextFormat> for c_int
Source§fn from(value: TextFormat) -> Self
fn from(value: TextFormat) -> Self
Converts to this type from the input type.
Source§impl From<i32> for TextFormat
impl From<i32> for TextFormat
Source§impl PartialEq for TextFormat
impl PartialEq for TextFormat
Source§fn eq(&self, other: &TextFormat) -> bool
fn eq(&self, other: &TextFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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