Struct qt_core::q_text_boundary_finder::BoundaryType
source · pub struct BoundaryType(/* private fields */);
Expand description
C++ enum: QTextBoundaryFinder::BoundaryType
.
Implementations§
source§impl BoundaryType
impl BoundaryType
sourcepub const Grapheme: BoundaryType = _
pub const Grapheme: BoundaryType = _
Finds a grapheme which is the smallest boundary. It including letters, punctuation marks, numerals and more. (C++ enum variant: Grapheme = 0
)
sourcepub const Word: BoundaryType = _
pub const Word: BoundaryType = _
Finds a word. (C++ enum variant: Word = 1
)
sourcepub const Sentence: BoundaryType = _
pub const Sentence: BoundaryType = _
Finds sentence boundaries. These include periods, question marks etc. (C++ enum variant: Sentence = 2
)
sourcepub const Line: BoundaryType = _
pub const Line: BoundaryType = _
Finds possible positions for breaking the text into multiple lines. (C++ enum variant: Line = 3
)
Trait Implementations§
source§impl Clone for BoundaryType
impl Clone for BoundaryType
source§fn clone(&self) -> BoundaryType
fn clone(&self) -> BoundaryType
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 BoundaryType
impl Debug for BoundaryType
source§impl From<BoundaryType> for c_int
impl From<BoundaryType> for c_int
source§fn from(value: BoundaryType) -> Self
fn from(value: BoundaryType) -> Self
Converts to this type from the input type.
source§impl From<i32> for BoundaryType
impl From<i32> for BoundaryType
source§impl PartialEq for BoundaryType
impl PartialEq for BoundaryType
source§fn eq(&self, other: &BoundaryType) -> bool
fn eq(&self, other: &BoundaryType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BoundaryType
impl Eq for BoundaryType
impl StructuralEq for BoundaryType
impl StructuralPartialEq for BoundaryType
Auto Trait Implementations§
impl RefUnwindSafe for BoundaryType
impl Send for BoundaryType
impl Sync for BoundaryType
impl Unpin for BoundaryType
impl UnwindSafe for BoundaryType
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