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 more