Struct qt_core::q_date::MonthNameType
source · pub struct MonthNameType(/* private fields */);
Expand description
This enum describes the types of the string representation used for the month name.
C++ enum: QDate::MonthNameType
.
This enum describes the types of the string representation used for the month name.
This enum was introduced or modified in Qt 4.5.
Implementations§
source§impl MonthNameType
impl MonthNameType
sourcepub const DateFormat: MonthNameType = _
pub const DateFormat: MonthNameType = _
This type of name can be used for date-to-string formatting. (C++ enum variant: DateFormat = 0
)
sourcepub const StandaloneFormat: MonthNameType = _
pub const StandaloneFormat: MonthNameType = _
This type is used when you need to enumerate months or weekdays. Usually standalone names are represented in singular forms with capitalized first letter. (C++ enum variant: StandaloneFormat = 1
)
Trait Implementations§
source§impl Clone for MonthNameType
impl Clone for MonthNameType
source§fn clone(&self) -> MonthNameType
fn clone(&self) -> MonthNameType
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 MonthNameType
impl Debug for MonthNameType
source§impl From<MonthNameType> for c_int
impl From<MonthNameType> for c_int
source§fn from(value: MonthNameType) -> Self
fn from(value: MonthNameType) -> Self
Converts to this type from the input type.
source§impl From<i32> for MonthNameType
impl From<i32> for MonthNameType
source§impl PartialEq for MonthNameType
impl PartialEq for MonthNameType
source§fn eq(&self, other: &MonthNameType) -> bool
fn eq(&self, other: &MonthNameType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MonthNameType
impl Eq for MonthNameType
impl StructuralEq for MonthNameType
impl StructuralPartialEq for MonthNameType
Auto Trait Implementations§
impl RefUnwindSafe for MonthNameType
impl Send for MonthNameType
impl Sync for MonthNameType
impl Unpin for MonthNameType
impl UnwindSafe for MonthNameType
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