Struct qt_core::q_text_stream::RealNumberNotation
source · pub struct RealNumberNotation(/* private fields */);
Expand description
This enum specifies which notations to use for expressing float
and double
as strings.
C++ enum: QTextStream::RealNumberNotation
.
This enum specifies which notations to use for expressing float
and double
as strings.
See also setRealNumberNotation().
Implementations§
source§impl RealNumberNotation
impl RealNumberNotation
sourcepub const SmartNotation: RealNumberNotation = _
pub const SmartNotation: RealNumberNotation = _
Scientific or fixed-point notation, depending on which makes most sense (printf()
’s %g
flag). (C++ enum variant: SmartNotation = 0
)
sourcepub const FixedNotation: RealNumberNotation = _
pub const FixedNotation: RealNumberNotation = _
Fixed-point notation (printf()
’s %f
flag). (C++ enum variant: FixedNotation = 1
)
sourcepub const ScientificNotation: RealNumberNotation = _
pub const ScientificNotation: RealNumberNotation = _
Scientific notation (printf()
’s %e
flag). (C++ enum variant: ScientificNotation = 2
)
Trait Implementations§
source§impl Clone for RealNumberNotation
impl Clone for RealNumberNotation
source§fn clone(&self) -> RealNumberNotation
fn clone(&self) -> RealNumberNotation
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 RealNumberNotation
impl Debug for RealNumberNotation
source§impl From<RealNumberNotation> for c_int
impl From<RealNumberNotation> for c_int
source§fn from(value: RealNumberNotation) -> Self
fn from(value: RealNumberNotation) -> Self
Converts to this type from the input type.
source§impl From<i32> for RealNumberNotation
impl From<i32> for RealNumberNotation
source§impl PartialEq for RealNumberNotation
impl PartialEq for RealNumberNotation
source§fn eq(&self, other: &RealNumberNotation) -> bool
fn eq(&self, other: &RealNumberNotation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RealNumberNotation
impl Eq for RealNumberNotation
impl StructuralEq for RealNumberNotation
impl StructuralPartialEq for RealNumberNotation
Auto Trait Implementations§
impl RefUnwindSafe for RealNumberNotation
impl Send for RealNumberNotation
impl Sync for RealNumberNotation
impl Unpin for RealNumberNotation
impl UnwindSafe for RealNumberNotation
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