Struct lldb::LaunchFlags
[−]
[src]
#[repr(C)]pub struct LaunchFlags { /* fields omitted */ }
Methods
impl LaunchFlags
[src]
const EXEC: LaunchFlags
EXEC: LaunchFlags = LaunchFlags{bits: 1,}
const DEBUG: LaunchFlags
DEBUG: LaunchFlags = LaunchFlags{bits: 2,}
const STOP_AT_ENTRY: LaunchFlags
STOP_AT_ENTRY: LaunchFlags = LaunchFlags{bits: 4,}
const DISABLE_ASLR: LaunchFlags
DISABLE_ASLR: LaunchFlags = LaunchFlags{bits: 8,}
const DISABLE_STDIO: LaunchFlags
DISABLE_STDIO: LaunchFlags = LaunchFlags{bits: 16,}
const LAUNCH_IN_TTY: LaunchFlags
LAUNCH_IN_TTY: LaunchFlags = LaunchFlags{bits: 32,}
const LAUNCH_IN_SHELL: LaunchFlags
LAUNCH_IN_SHELL: LaunchFlags = LaunchFlags{bits: 64,}
const LAUNCH_IN_SEPARATE_PROCESS_GROUP: LaunchFlags
LAUNCH_IN_SEPARATE_PROCESS_GROUP: LaunchFlags = LaunchFlags{bits: 128,}
const DONT_SET_EXIT_STATUS: LaunchFlags
DONT_SET_EXIT_STATUS: LaunchFlags = LaunchFlags{bits: 256,}
const DETACH_ON_ERRROR: LaunchFlags
DETACH_ON_ERRROR: LaunchFlags = LaunchFlags{bits: 512,}
const SHELL_EXPAND_ARGUMENTS: LaunchFlags
SHELL_EXPAND_ARGUMENTS: LaunchFlags = LaunchFlags{bits: 1024,}
const CLOSE_TTY_ON_EXIT: LaunchFlags
CLOSE_TTY_ON_EXIT: LaunchFlags = LaunchFlags{bits: 2048,}
fn empty() -> LaunchFlags
[src]
Returns an empty set of flags.
fn all() -> LaunchFlags
[src]
Returns the set containing all flags.
fn bits(&self) -> u32
[src]
Returns the raw value of the flags currently stored.
fn from_bits(bits: u32) -> Option<LaunchFlags>
[src]
Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.
fn from_bits_truncate(bits: u32) -> LaunchFlags
[src]
Convert from underlying bit representation, dropping any bits that do not correspond to flags.
fn is_empty(&self) -> bool
[src]
Returns true
if no flags are currently stored.
fn is_all(&self) -> bool
[src]
Returns true
if all flags are currently set.
fn intersects(&self, other: LaunchFlags) -> bool
[src]
Returns true
if there are flags common to both self
and other
.
fn contains(&self, other: LaunchFlags) -> bool
[src]
Returns true
all of the flags in other
are contained within self
.
fn insert(&mut self, other: LaunchFlags)
[src]
Inserts the specified flags in-place.
fn remove(&mut self, other: LaunchFlags)
[src]
Removes the specified flags in-place.
fn toggle(&mut self, other: LaunchFlags)
[src]
Toggles the specified flags in-place.
fn set(&mut self, other: LaunchFlags, value: bool)
[src]
Inserts or removes the specified flags depending on the passed value.
Trait Implementations
impl Sub<LaunchFlags> for LaunchFlags
[src]
type Output = LaunchFlags
fn sub(self, other: LaunchFlags) -> LaunchFlags
[src]
Returns the set difference of the two sets of flags.
impl Clone for LaunchFlags
[src]
fn clone(&self) -> LaunchFlags
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for LaunchFlags
[src]
impl Not for LaunchFlags
[src]
type Output = LaunchFlags
fn not(self) -> LaunchFlags
[src]
Returns the complement of this set of flags.
impl Octal for LaunchFlags
[src]
impl BitXor<LaunchFlags> for LaunchFlags
[src]
type Output = LaunchFlags
fn bitxor(self, other: LaunchFlags) -> LaunchFlags
[src]
Returns the left flags, but with all the right flags toggled.
impl BitOr<LaunchFlags> for LaunchFlags
[src]
type Output = LaunchFlags
fn bitor(self, other: LaunchFlags) -> LaunchFlags
[src]
Returns the union of the two sets of flags.
impl Debug for LaunchFlags
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter.
impl BitOrAssign<LaunchFlags> for LaunchFlags
[src]
fn bitor_assign(&mut self, other: LaunchFlags)
[src]
Adds the set of flags.
impl Eq for LaunchFlags
[src]
impl PartialEq<LaunchFlags> for LaunchFlags
[src]
fn eq(&self, __arg_0: &LaunchFlags) -> bool
[src]
fn ne(&self, __arg_0: &LaunchFlags) -> bool
[src]
impl SubAssign<LaunchFlags> for LaunchFlags
[src]
fn sub_assign(&mut self, other: LaunchFlags)
[src]
Disables all flags enabled in the set.
impl Hash for LaunchFlags
[src]
impl UpperHex for LaunchFlags
[src]
impl BitAnd<LaunchFlags> for LaunchFlags
[src]
type Output = LaunchFlags
fn bitand(self, other: LaunchFlags) -> LaunchFlags
[src]
Returns the intersection between the two sets of flags.
impl BitXorAssign<LaunchFlags> for LaunchFlags
[src]
fn bitxor_assign(&mut self, other: LaunchFlags)
[src]
Toggles the set of flags.
impl BitAndAssign<LaunchFlags> for LaunchFlags
[src]
fn bitand_assign(&mut self, other: LaunchFlags)
[src]
Disables all flags disabled in the set.
impl PartialOrd<LaunchFlags> for LaunchFlags
[src]
fn partial_cmp(&self, __arg_0: &LaunchFlags) -> Option<Ordering>
[src]
fn lt(&self, __arg_0: &LaunchFlags) -> bool
[src]
fn le(&self, __arg_0: &LaunchFlags) -> bool
[src]
fn gt(&self, __arg_0: &LaunchFlags) -> bool
[src]
fn ge(&self, __arg_0: &LaunchFlags) -> bool
[src]
impl Ord for LaunchFlags
[src]
fn cmp(&self, __arg_0: &LaunchFlags) -> Ordering
[src]
impl Extend<LaunchFlags> for LaunchFlags
[src]
fn extend<T>(&mut self, iterator: T) where
T: IntoIterator<Item = LaunchFlags>,
[src]
T: IntoIterator<Item = LaunchFlags>,
impl Binary for LaunchFlags
[src]
impl LowerHex for LaunchFlags
[src]
impl FromIterator<LaunchFlags> for LaunchFlags
[src]
fn from_iter<T>(iterator: T) -> LaunchFlags where
T: IntoIterator<Item = LaunchFlags>,
[src]
T: IntoIterator<Item = LaunchFlags>,