Struct qt_gui::q_text_item::RenderFlag
source · pub struct RenderFlag(/* private fields */);
Expand description
Implementations§
source§impl RenderFlag
impl RenderFlag
sourcepub const RightToLeft: RenderFlag = _
pub const RightToLeft: RenderFlag = _
Render the text from right to left. (C++ enum variant: RightToLeft = 1
)
sourcepub const Overline: RenderFlag = _
pub const Overline: RenderFlag = _
Paint a line above the text. (C++ enum variant: Overline = 16
)
sourcepub const Underline: RenderFlag = _
pub const Underline: RenderFlag = _
Paint a line under the text. (C++ enum variant: Underline = 32
)
sourcepub const StrikeOut: RenderFlag = _
pub const StrikeOut: RenderFlag = _
Paint a line through the text. (C++ enum variant: StrikeOut = 64
)
sourcepub const Dummy: RenderFlag = _
pub const Dummy: RenderFlag = _
C++ enum variant: Dummy = -1
Trait Implementations§
source§impl<T: Into<QFlags<RenderFlag>>> BitOr<T> for RenderFlag
impl<T: Into<QFlags<RenderFlag>>> BitOr<T> for RenderFlag
§type Output = QFlags<RenderFlag>
type Output = QFlags<RenderFlag>
The resulting type after applying the
|
operator.source§impl Clone for RenderFlag
impl Clone for RenderFlag
source§fn clone(&self) -> RenderFlag
fn clone(&self) -> RenderFlag
Returns a copy 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 RenderFlag
impl Debug for RenderFlag
source§impl From<RenderFlag> for QFlags<RenderFlag>
impl From<RenderFlag> for QFlags<RenderFlag>
source§fn from(value: RenderFlag) -> Self
fn from(value: RenderFlag) -> Self
Converts to this type from the input type.
source§impl From<RenderFlag> for c_int
impl From<RenderFlag> for c_int
source§fn from(value: RenderFlag) -> Self
fn from(value: RenderFlag) -> Self
Converts to this type from the input type.
source§impl From<i32> for RenderFlag
impl From<i32> for RenderFlag
source§impl PartialEq for RenderFlag
impl PartialEq for RenderFlag
source§fn eq(&self, other: &RenderFlag) -> bool
fn eq(&self, other: &RenderFlag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RenderFlag
impl Eq for RenderFlag
impl StructuralEq for RenderFlag
impl StructuralPartialEq for RenderFlag
Auto Trait Implementations§
impl RefUnwindSafe for RenderFlag
impl Send for RenderFlag
impl Sync for RenderFlag
impl Unpin for RenderFlag
impl UnwindSafe for RenderFlag
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