[][src]Struct qt_gui::q_double_validator::Notation

#[repr(transparent)]
pub struct Notation(_);

This enum defines the allowed notations for entering a double.

C++ enum: QDoubleValidator::Notation.

C++ documentation:

This enum defines the allowed notations for entering a double.

This enum was introduced or modified in Qt 4.3.

Methods

impl Notation[src]

pub fn to_int(&self) -> c_int[src]

impl Notation[src]

pub const StandardNotation: Notation[src]

The string is written as a standard number (i.e. 0.015). (C++ enum variant: StandardNotation = 0)

pub const ScientificNotation: Notation[src]

The string is written in scientific form. It may have an exponent part(i.e. 1.5E-2). (C++ enum variant: ScientificNotation = 1)

Trait Implementations

impl Clone for Notation[src]

impl Copy for Notation[src]

impl Debug for Notation[src]

impl Eq for Notation[src]

impl From<Notation> for c_int[src]

impl From<i32> for Notation[src]

impl PartialEq<Notation> for Notation[src]

impl StructuralEq for Notation[src]

impl StructuralPartialEq for Notation[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.