Struct qt_gui::q_key_sequence::SequenceFormat
source · pub struct SequenceFormat(/* private fields */);
Expand description
C++ enum: QKeySequence::SequenceFormat
.
Implementations§
source§impl SequenceFormat
impl SequenceFormat
sourcepub const NativeText: SequenceFormat = _
pub const NativeText: SequenceFormat = _
The key sequence as a platform specific string. This means that it will be shown translated and on the Mac it will resemble a key sequence from the menu bar. This enum is best used when you want to display the string to the user. (C++ enum variant: NativeText = 0
)
sourcepub const PortableText: SequenceFormat = _
pub const PortableText: SequenceFormat = _
The key sequence is given in a “portable” format, suitable for reading and writing to a file. In many cases, it will look similar to the native text on Windows and X11. (C++ enum variant: PortableText = 1
)
Trait Implementations§
source§impl Clone for SequenceFormat
impl Clone for SequenceFormat
source§fn clone(&self) -> SequenceFormat
fn clone(&self) -> SequenceFormat
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 SequenceFormat
impl Debug for SequenceFormat
source§impl From<SequenceFormat> for c_int
impl From<SequenceFormat> for c_int
source§fn from(value: SequenceFormat) -> Self
fn from(value: SequenceFormat) -> Self
Converts to this type from the input type.
source§impl From<i32> for SequenceFormat
impl From<i32> for SequenceFormat
source§impl PartialEq for SequenceFormat
impl PartialEq for SequenceFormat
source§fn eq(&self, other: &SequenceFormat) -> bool
fn eq(&self, other: &SequenceFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SequenceFormat
impl Eq for SequenceFormat
impl StructuralEq for SequenceFormat
impl StructuralPartialEq for SequenceFormat
Auto Trait Implementations§
impl RefUnwindSafe for SequenceFormat
impl Send for SequenceFormat
impl Sync for SequenceFormat
impl Unpin for SequenceFormat
impl UnwindSafe for SequenceFormat
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