Struct qt_core::q_text_boundary_finder::BoundaryReason
source · pub struct BoundaryReason(/* private fields */);
Expand description
Implementations§
source§impl BoundaryReason
impl BoundaryReason
sourcepub const NotAtBoundary: BoundaryReason = _
pub const NotAtBoundary: BoundaryReason = _
The boundary finder is not at a boundary position. (C++ enum variant: NotAtBoundary = 0
)
sourcepub const BreakOpportunity: BoundaryReason = _
pub const BreakOpportunity: BoundaryReason = _
The boundary finder is at a break opportunity position. Such a break opportunity might also be an item boundary (either StartOfItem, EndOfItem, or combination of both), a mandatory line break, or a soft hyphen. (C++ enum variant: BreakOpportunity = 31
)
sourcepub const StartOfItem: BoundaryReason = _
pub const StartOfItem: BoundaryReason = _
Since 5.0. The boundary finder is at the start of a grapheme, a word, a sentence, or a line. (C++ enum variant: StartOfItem = 32
)
sourcepub const EndOfItem: BoundaryReason = _
pub const EndOfItem: BoundaryReason = _
Since 5.0. The boundary finder is at the end of a grapheme, a word, a sentence, or a line. (C++ enum variant: EndOfItem = 64
)
sourcepub const MandatoryBreak: BoundaryReason = _
pub const MandatoryBreak: BoundaryReason = _
Since 5.0. The boundary finder is at the end of line (can occur for a Line boundary type only). (C++ enum variant: MandatoryBreak = 128
)
sourcepub const SoftHyphen: BoundaryReason = _
pub const SoftHyphen: BoundaryReason = _
The boundary finder is at the soft hyphen (can occur for a Line boundary type only). (C++ enum variant: SoftHyphen = 256
)
Trait Implementations§
source§impl<T: Into<QFlags<BoundaryReason>>> BitOr<T> for BoundaryReason
impl<T: Into<QFlags<BoundaryReason>>> BitOr<T> for BoundaryReason
§type Output = QFlags<BoundaryReason>
type Output = QFlags<BoundaryReason>
|
operator.source§impl Clone for BoundaryReason
impl Clone for BoundaryReason
source§fn clone(&self) -> BoundaryReason
fn clone(&self) -> BoundaryReason
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BoundaryReason
impl Debug for BoundaryReason
source§impl From<BoundaryReason> for QFlags<BoundaryReason>
impl From<BoundaryReason> for QFlags<BoundaryReason>
source§fn from(value: BoundaryReason) -> Self
fn from(value: BoundaryReason) -> Self
source§impl From<BoundaryReason> for c_int
impl From<BoundaryReason> for c_int
source§fn from(value: BoundaryReason) -> Self
fn from(value: BoundaryReason) -> Self
source§impl From<i32> for BoundaryReason
impl From<i32> for BoundaryReason
source§impl PartialEq for BoundaryReason
impl PartialEq for BoundaryReason
source§fn eq(&self, other: &BoundaryReason) -> bool
fn eq(&self, other: &BoundaryReason) -> bool
self
and other
values to be equal, and is used
by ==
.