[][src]Struct qt_core::SplitBehaviorFlags

#[repr(transparent)]pub struct SplitBehaviorFlags(_);

This enum specifies how the split() functions should behave with respect to empty strings.

C++ enum: Qt::SplitBehaviorFlags.

C++ documentation:

This enum specifies how the split() functions should behave with respect to empty strings.

This enum was introduced or modified in Qt 5.14.

The SplitBehavior type is a typedef for QFlags<SplitBehaviorFlags>. It stores an OR combination of SplitBehaviorFlags values.

See also QString::split().

Methods

impl SplitBehaviorFlags[src]

pub fn to_int(&self) -> c_int[src]

impl SplitBehaviorFlags[src]

pub const KeepEmptyParts: SplitBehaviorFlags[src]

If a field is empty, keep it in the result. (C++ enum variant: KeepEmptyParts = 0)

pub const SkipEmptyParts: SplitBehaviorFlags[src]

If a field is empty, don't include it in the result. (C++ enum variant: SkipEmptyParts = 1)

Trait Implementations

impl<T: Into<QFlags<SplitBehaviorFlags>>> BitOr<T> for SplitBehaviorFlags[src]

type Output = QFlags<SplitBehaviorFlags>

The resulting type after applying the | operator.

impl Clone for SplitBehaviorFlags[src]

impl Copy for SplitBehaviorFlags[src]

impl Debug for SplitBehaviorFlags[src]

impl Eq for SplitBehaviorFlags[src]

impl From<SplitBehaviorFlags> for c_int[src]

impl From<SplitBehaviorFlags> for QFlags<SplitBehaviorFlags>[src]

impl From<i32> for SplitBehaviorFlags[src]

impl PartialEq<SplitBehaviorFlags> for SplitBehaviorFlags[src]

impl StructuralEq for SplitBehaviorFlags[src]

impl StructuralPartialEq for SplitBehaviorFlags[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.