[−][src]Struct qt_core::SplitBehaviorFlags
This enum specifies how the split() functions should behave with respect to empty strings.
C++ enum: Qt::SplitBehaviorFlags
.
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]
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.
fn bitor(self, rhs: T) -> QFlags<SplitBehaviorFlags>
[src]
impl Clone for SplitBehaviorFlags
[src]
fn clone(&self) -> SplitBehaviorFlags
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SplitBehaviorFlags
[src]
impl Debug for SplitBehaviorFlags
[src]
impl Eq for SplitBehaviorFlags
[src]
impl From<SplitBehaviorFlags> for c_int
[src]
fn from(value: SplitBehaviorFlags) -> Self
[src]
impl From<SplitBehaviorFlags> for QFlags<SplitBehaviorFlags>
[src]
fn from(value: SplitBehaviorFlags) -> Self
[src]
impl From<i32> for SplitBehaviorFlags
[src]
impl PartialEq<SplitBehaviorFlags> for SplitBehaviorFlags
[src]
fn eq(&self, other: &SplitBehaviorFlags) -> bool
[src]
fn ne(&self, other: &SplitBehaviorFlags) -> bool
[src]
impl StructuralEq for SplitBehaviorFlags
[src]
impl StructuralPartialEq for SplitBehaviorFlags
[src]
Auto Trait Implementations
impl RefUnwindSafe for SplitBehaviorFlags
impl Send for SplitBehaviorFlags
impl Sync for SplitBehaviorFlags
impl Unpin for SplitBehaviorFlags
impl UnwindSafe for SplitBehaviorFlags
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]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<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>,