pub struct UnderlineStyle(/* private fields */);Expand description
C++ enum: QTextCharFormat::UnderlineStyle.
Implementations§
Source§impl UnderlineStyle
impl UnderlineStyle
Sourcepub const NoUnderline: UnderlineStyle
pub const NoUnderline: UnderlineStyle
C++ enum variant: NoUnderline = 0
Sourcepub const SingleUnderline: UnderlineStyle
pub const SingleUnderline: UnderlineStyle
C++ enum variant: SingleUnderline = 1
Sourcepub const DashUnderline: UnderlineStyle
pub const DashUnderline: UnderlineStyle
C++ enum variant: DashUnderline = 2
Sourcepub const DotLine: UnderlineStyle
pub const DotLine: UnderlineStyle
C++ enum variant: DotLine = 3
Sourcepub const DashDotLine: UnderlineStyle
pub const DashDotLine: UnderlineStyle
C++ enum variant: DashDotLine = 4
Sourcepub const DashDotDotLine: UnderlineStyle
pub const DashDotDotLine: UnderlineStyle
C++ enum variant: DashDotDotLine = 5
Sourcepub const WaveUnderline: UnderlineStyle
pub const WaveUnderline: UnderlineStyle
C++ enum variant: WaveUnderline = 6
Sourcepub const SpellCheckUnderline: UnderlineStyle
pub const SpellCheckUnderline: UnderlineStyle
C++ enum variant: SpellCheckUnderline = 7
Trait Implementations§
Source§impl Clone for UnderlineStyle
impl Clone for UnderlineStyle
Source§fn clone(&self) -> UnderlineStyle
fn clone(&self) -> UnderlineStyle
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 UnderlineStyle
impl Debug for UnderlineStyle
Source§impl From<UnderlineStyle> for c_int
impl From<UnderlineStyle> for c_int
Source§fn from(value: UnderlineStyle) -> Self
fn from(value: UnderlineStyle) -> Self
Converts to this type from the input type.
Source§impl From<i32> for UnderlineStyle
impl From<i32> for UnderlineStyle
Source§impl PartialEq for UnderlineStyle
impl PartialEq for UnderlineStyle
Source§fn eq(&self, other: &UnderlineStyle) -> bool
fn eq(&self, other: &UnderlineStyle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for UnderlineStyle
impl Eq for UnderlineStyle
impl StructuralPartialEq for UnderlineStyle
Auto Trait Implementations§
impl Freeze for UnderlineStyle
impl RefUnwindSafe for UnderlineStyle
impl Send for UnderlineStyle
impl Sync for UnderlineStyle
impl Unpin for UnderlineStyle
impl UnsafeUnpin for UnderlineStyle
impl UnwindSafe for UnderlineStyle
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