[−][src]Struct qt_core::q_text_stream::NumberFlag
This enum specifies various flags that can be set to affect the output of integers, float
s, and double
s.
C++ enum: QTextStream::NumberFlag
.
This enum specifies various flags that can be set to affect the output of integers, float
s, and double
s.
The NumberFlags type is a typedef for QFlags<NumberFlag>. It stores an OR combination of NumberFlag values.
See also setNumberFlags().
Methods
impl NumberFlag
[src]
impl NumberFlag
[src]
pub const ShowBase: NumberFlag
[src]
Show the base as a prefix if the base is 16 ("0x"), 8 ("0"), or 2 ("0b"). (C++ enum variant: ShowBase = 1
)
pub const ForcePoint: NumberFlag
[src]
Always put the decimal separator in numbers, even if there are no decimals. (C++ enum variant: ForcePoint = 2
)
pub const ForceSign: NumberFlag
[src]
Always put the sign in numbers, even for positive numbers. (C++ enum variant: ForceSign = 4
)
pub const UppercaseBase: NumberFlag
[src]
Use uppercase versions of base prefixes ("0X", "0B"). (C++ enum variant: UppercaseBase = 8
)
pub const UppercaseDigits: NumberFlag
[src]
Use uppercase letters for expressing digits 10 to 35 instead of lowercase. (C++ enum variant: UppercaseDigits = 16
)
Trait Implementations
impl<T: Into<QFlags<NumberFlag>>> BitOr<T> for NumberFlag
[src]
type Output = QFlags<NumberFlag>
The resulting type after applying the |
operator.
fn bitor(self, rhs: T) -> QFlags<NumberFlag>
[src]
impl Clone for NumberFlag
[src]
fn clone(&self) -> NumberFlag
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for NumberFlag
[src]
impl Debug for NumberFlag
[src]
impl Eq for NumberFlag
[src]
impl From<NumberFlag> for c_int
[src]
fn from(value: NumberFlag) -> Self
[src]
impl From<NumberFlag> for QFlags<NumberFlag>
[src]
fn from(value: NumberFlag) -> Self
[src]
impl From<i32> for NumberFlag
[src]
impl PartialEq<NumberFlag> for NumberFlag
[src]
fn eq(&self, other: &NumberFlag) -> bool
[src]
fn ne(&self, other: &NumberFlag) -> bool
[src]
impl StructuralEq for NumberFlag
[src]
impl StructuralPartialEq for NumberFlag
[src]
Auto Trait Implementations
impl RefUnwindSafe for NumberFlag
impl Send for NumberFlag
impl Sync for NumberFlag
impl Unpin for NumberFlag
impl UnwindSafe for NumberFlag
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>,