Struct qt_core::q_locale::CurrencySymbolFormat
source · pub struct CurrencySymbolFormat(/* private fields */);
Expand description
Specifies the format of the currency symbol.
C++ enum: QLocale::CurrencySymbolFormat
.
Specifies the format of the currency symbol.
This enum was introduced or modified in Qt 4.8.
Implementations§
source§impl CurrencySymbolFormat
impl CurrencySymbolFormat
sourcepub const CurrencyIsoCode: CurrencySymbolFormat = _
pub const CurrencyIsoCode: CurrencySymbolFormat = _
a ISO-4217 code of the currency. (C++ enum variant: CurrencyIsoCode = 0
)
sourcepub const CurrencySymbol: CurrencySymbolFormat = _
pub const CurrencySymbol: CurrencySymbolFormat = _
a currency symbol. (C++ enum variant: CurrencySymbol = 1
)
sourcepub const CurrencyDisplayName: CurrencySymbolFormat = _
pub const CurrencyDisplayName: CurrencySymbolFormat = _
a user readable name of the currency. (C++ enum variant: CurrencyDisplayName = 2
)
Trait Implementations§
source§impl Clone for CurrencySymbolFormat
impl Clone for CurrencySymbolFormat
source§fn clone(&self) -> CurrencySymbolFormat
fn clone(&self) -> CurrencySymbolFormat
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 CurrencySymbolFormat
impl Debug for CurrencySymbolFormat
source§impl From<CurrencySymbolFormat> for c_int
impl From<CurrencySymbolFormat> for c_int
source§fn from(value: CurrencySymbolFormat) -> Self
fn from(value: CurrencySymbolFormat) -> Self
Converts to this type from the input type.
source§impl From<i32> for CurrencySymbolFormat
impl From<i32> for CurrencySymbolFormat
source§impl PartialEq for CurrencySymbolFormat
impl PartialEq for CurrencySymbolFormat
source§fn eq(&self, other: &CurrencySymbolFormat) -> bool
fn eq(&self, other: &CurrencySymbolFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CurrencySymbolFormat
impl Eq for CurrencySymbolFormat
impl StructuralEq for CurrencySymbolFormat
impl StructuralPartialEq for CurrencySymbolFormat
Auto Trait Implementations§
impl RefUnwindSafe for CurrencySymbolFormat
impl Send for CurrencySymbolFormat
impl Sync for CurrencySymbolFormat
impl Unpin for CurrencySymbolFormat
impl UnwindSafe for CurrencySymbolFormat
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