Struct qt_core::q_text_codec::ConversionFlag
source · pub struct ConversionFlag(/* private fields */);
Expand description
Implementations§
source§impl ConversionFlag
impl ConversionFlag
sourcepub const DefaultConversion: ConversionFlag = _
pub const DefaultConversion: ConversionFlag = _
No flag is set. (C++ enum variant: DefaultConversion = 0
)
sourcepub const ConvertInvalidToNull: ConversionFlag = _
pub const ConvertInvalidToNull: ConversionFlag = _
If this flag is set, each invalid input character is output as a null character. (C++ enum variant: ConvertInvalidToNull = -2147483648
)
sourcepub const IgnoreHeader: ConversionFlag = _
pub const IgnoreHeader: ConversionFlag = _
Ignore any Unicode byte-order mark and don’t generate any. (C++ enum variant: IgnoreHeader = 1
)
sourcepub const FreeFunction: ConversionFlag = _
pub const FreeFunction: ConversionFlag = _
C++ enum variant: FreeFunction = 2
Trait Implementations§
source§impl<T: Into<QFlags<ConversionFlag>>> BitOr<T> for ConversionFlag
impl<T: Into<QFlags<ConversionFlag>>> BitOr<T> for ConversionFlag
§type Output = QFlags<ConversionFlag>
type Output = QFlags<ConversionFlag>
The resulting type after applying the
|
operator.source§impl Clone for ConversionFlag
impl Clone for ConversionFlag
source§fn clone(&self) -> ConversionFlag
fn clone(&self) -> ConversionFlag
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ConversionFlag
impl Debug for ConversionFlag
source§impl From<ConversionFlag> for QFlags<ConversionFlag>
impl From<ConversionFlag> for QFlags<ConversionFlag>
source§fn from(value: ConversionFlag) -> Self
fn from(value: ConversionFlag) -> Self
Converts to this type from the input type.
source§impl From<ConversionFlag> for c_int
impl From<ConversionFlag> for c_int
source§fn from(value: ConversionFlag) -> Self
fn from(value: ConversionFlag) -> Self
Converts to this type from the input type.
source§impl From<i32> for ConversionFlag
impl From<i32> for ConversionFlag
source§impl PartialEq for ConversionFlag
impl PartialEq for ConversionFlag
source§fn eq(&self, other: &ConversionFlag) -> bool
fn eq(&self, other: &ConversionFlag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ConversionFlag
impl Eq for ConversionFlag
impl StructuralEq for ConversionFlag
impl StructuralPartialEq for ConversionFlag
Auto Trait Implementations§
impl RefUnwindSafe for ConversionFlag
impl Send for ConversionFlag
impl Sync for ConversionFlag
impl Unpin for ConversionFlag
impl UnwindSafe for ConversionFlag
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