#[repr(transparent)]pub struct SplitBehaviorFlags {
pub repr: i32,
}Expand description
This enum specifies how QString::split functions should behave with respect to empty strings.
Fields§
§repr: i32Implementations§
Source§impl SplitBehaviorFlags
impl SplitBehaviorFlags
Sourcepub const KeepEmptyParts: Self
pub const KeepEmptyParts: Self
If a field is empty, keep it in the result.
Sourcepub const SkipEmptyParts: Self
pub const SkipEmptyParts: Self
If a field is empty, don’t include it in the result.
Trait Implementations§
Source§impl Clone for SplitBehaviorFlags
impl Clone for SplitBehaviorFlags
impl Copy for SplitBehaviorFlags
impl Eq for SplitBehaviorFlags
Source§impl ExternType for SplitBehaviorFlags
impl ExternType for SplitBehaviorFlags
Source§impl PartialEq for SplitBehaviorFlags
impl PartialEq for SplitBehaviorFlags
Source§fn eq(&self, other: &SplitBehaviorFlags) -> bool
fn eq(&self, other: &SplitBehaviorFlags) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SplitBehaviorFlags
Auto Trait Implementations§
impl Freeze for SplitBehaviorFlags
impl RefUnwindSafe for SplitBehaviorFlags
impl Send for SplitBehaviorFlags
impl Sync for SplitBehaviorFlags
impl Unpin for SplitBehaviorFlags
impl UnsafeUnpin for SplitBehaviorFlags
impl UnwindSafe for SplitBehaviorFlags
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