Struct qt_core::q_uuid::StringFormat
source · pub struct StringFormat(/* private fields */);
Expand description
This enum is used by toString(StringFormat) to control the formatting of the string representation. The possible values are:
C++ enum: QUuid::StringFormat
.
This enum is used by toString(StringFormat) to control the formatting of the string representation. The possible values are:
This enum was introduced or modified in Qt 5.11.
Implementations§
source§impl StringFormat
impl StringFormat
sourcepub const WithBraces: StringFormat = _
pub const WithBraces: StringFormat = _
The default, toString() will return five hex fields, separated by dashes and surrounded by braces. Example: {00000000-0000-0000-0000-000000000000}. (C++ enum variant: WithBraces = 0
)
sourcepub const WithoutBraces: StringFormat = _
pub const WithoutBraces: StringFormat = _
Only the five dash-separated fields, without the braces. Example: 00000000-0000-0000-0000-000000000000. (C++ enum variant: WithoutBraces = 1
)
sourcepub const Id128: StringFormat = _
pub const Id128: StringFormat = _
Only the hex digits, without braces or dashes. Note that QUuid cannot parse this back again as input. (C++ enum variant: Id128 = 3
)
Trait Implementations§
source§impl Clone for StringFormat
impl Clone for StringFormat
source§fn clone(&self) -> StringFormat
fn clone(&self) -> StringFormat
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StringFormat
impl Debug for StringFormat
source§impl From<StringFormat> for c_int
impl From<StringFormat> for c_int
source§fn from(value: StringFormat) -> Self
fn from(value: StringFormat) -> Self
source§impl From<i32> for StringFormat
impl From<i32> for StringFormat
source§impl PartialEq for StringFormat
impl PartialEq for StringFormat
source§fn eq(&self, other: &StringFormat) -> bool
fn eq(&self, other: &StringFormat) -> bool
self
and other
values to be equal, and is used
by ==
.