[−][src]Struct qt_core::q_command_line_option::Flag
The Flags type is a typedef for QFlags<Flag>. It stores an OR combination of Flag values.
C++ enum: QCommandLineOption::Flag
.
The Flags type is a typedef for QFlags<Flag>. It stores an OR combination of Flag values.
See also QCommandLineOption::setFlags() and QCommandLineOption::flags().
Methods
impl Flag
[src]
impl Flag
[src]
pub const HiddenFromHelp: Flag
[src]
Hide this option in the user-visible help output. All options are visible by default. Setting this flag for a particular option makes it internal, i.e. not listed in the help output. (C++ enum variant: HiddenFromHelp = 1
)
pub const ShortOptionStyle: Flag
[src]
The option will always be understood as a short option, regardless of what was set by QCommandLineParser::setSingleDashWordOptionMode. This allows flags such as -DDEFINE=VALUE
or -I/include/path
to be interpreted as short flags even when the parser is in QCommandLineParser::ParseAsLongOptions mode. (C++ enum variant: ShortOptionStyle = 2
)
Trait Implementations
impl<T: Into<QFlags<Flag>>> BitOr<T> for Flag
[src]
type Output = QFlags<Flag>
The resulting type after applying the |
operator.
fn bitor(self, rhs: T) -> QFlags<Flag>
[src]
impl Clone for Flag
[src]
impl Copy for Flag
[src]
impl Debug for Flag
[src]
impl Eq for Flag
[src]
impl From<Flag> for c_int
[src]
impl From<Flag> for QFlags<Flag>
[src]
impl From<i32> for Flag
[src]
impl PartialEq<Flag> for Flag
[src]
impl StructuralEq for Flag
[src]
impl StructuralPartialEq for Flag
[src]
Auto Trait Implementations
impl RefUnwindSafe for Flag
impl Send for Flag
impl Sync for Flag
impl Unpin for Flag
impl UnwindSafe for Flag
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,