[−][src]Struct qt_core::q_text_boundary_finder::BoundaryReason
The BoundaryReasons type is a typedef for QFlags<BoundaryReason>. It stores an OR combination of BoundaryReason values.
C++ enum: QTextBoundaryFinder::BoundaryReason
.
The BoundaryReasons type is a typedef for QFlags<BoundaryReason>. It stores an OR combination of BoundaryReason values.
Methods
impl BoundaryReason
[src]
impl BoundaryReason
[src]
pub const NotAtBoundary: BoundaryReason
[src]
The boundary finder is not at a boundary position. (C++ enum variant: NotAtBoundary = 0
)
pub const BreakOpportunity: BoundaryReason
[src]
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
)
pub const StartOfItem: BoundaryReason
[src]
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
)
pub const EndOfItem: BoundaryReason
[src]
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
)
pub const MandatoryBreak: BoundaryReason
[src]
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
)
pub const SoftHyphen: BoundaryReason
[src]
The boundary finder is at the soft hyphen (can occur for a Line boundary type only). (C++ enum variant: SoftHyphen = 256
)
Trait Implementations
impl<T: Into<QFlags<BoundaryReason>>> BitOr<T> for BoundaryReason
[src]
type Output = QFlags<BoundaryReason>
The resulting type after applying the |
operator.
fn bitor(self, rhs: T) -> QFlags<BoundaryReason>
[src]
impl Clone for BoundaryReason
[src]
fn clone(&self) -> BoundaryReason
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for BoundaryReason
[src]
impl Debug for BoundaryReason
[src]
impl Eq for BoundaryReason
[src]
impl From<BoundaryReason> for c_int
[src]
fn from(value: BoundaryReason) -> Self
[src]
impl From<BoundaryReason> for QFlags<BoundaryReason>
[src]
fn from(value: BoundaryReason) -> Self
[src]
impl From<i32> for BoundaryReason
[src]
impl PartialEq<BoundaryReason> for BoundaryReason
[src]
fn eq(&self, other: &BoundaryReason) -> bool
[src]
fn ne(&self, other: &BoundaryReason) -> bool
[src]
impl StructuralEq for BoundaryReason
[src]
impl StructuralPartialEq for BoundaryReason
[src]
Auto Trait Implementations
impl RefUnwindSafe for BoundaryReason
impl Send for BoundaryReason
impl Sync for BoundaryReason
impl Unpin for BoundaryReason
impl UnwindSafe for BoundaryReason
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,