Struct imgui::ImGuiSelectableFlags
[−]
[src]
#[repr(C)]pub struct ImGuiSelectableFlags { /* fields omitted */ }
Flags for selectables
Methods
impl ImGuiSelectableFlags
[src]
fn empty() -> ImGuiSelectableFlags
Returns an empty set of flags.
fn all() -> ImGuiSelectableFlags
Returns the set containing all flags.
fn bits(&self) -> i32
Returns the raw value of the flags currently stored.
fn from_bits(bits: i32) -> Option<ImGuiSelectableFlags>
Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.
fn from_bits_truncate(bits: i32) -> ImGuiSelectableFlags
Convert from underlying bit representation, dropping any bits that do not correspond to flags.
fn is_empty(&self) -> bool
Returns true
if no flags are currently stored.
fn is_all(&self) -> bool
Returns true
if all flags are currently set.
fn intersects(&self, other: ImGuiSelectableFlags) -> bool
Returns true
if there are flags common to both self
and other
.
fn contains(&self, other: ImGuiSelectableFlags) -> bool
Returns true
all of the flags in other
are contained within self
.
fn insert(&mut self, other: ImGuiSelectableFlags)
Inserts the specified flags in-place.
fn remove(&mut self, other: ImGuiSelectableFlags)
Removes the specified flags in-place.
fn toggle(&mut self, other: ImGuiSelectableFlags)
Toggles the specified flags in-place.
fn set(&mut self, other: ImGuiSelectableFlags, value: bool)
Inserts or removes the specified flags depending on the passed value.
Trait Implementations
impl Extend<ImGuiSelectableFlags> for ImGuiSelectableFlags
[src]
fn extend<T>(&mut self, iterator: T) where
T: IntoIterator<Item = ImGuiSelectableFlags>,
T: IntoIterator<Item = ImGuiSelectableFlags>,
impl PartialOrd<ImGuiSelectableFlags> for ImGuiSelectableFlags
[src]
fn partial_cmp(&self, __arg_0: &ImGuiSelectableFlags) -> Option<Ordering>
fn lt(&self, __arg_0: &ImGuiSelectableFlags) -> bool
fn le(&self, __arg_0: &ImGuiSelectableFlags) -> bool
fn gt(&self, __arg_0: &ImGuiSelectableFlags) -> bool
fn ge(&self, __arg_0: &ImGuiSelectableFlags) -> bool
impl Sub<ImGuiSelectableFlags> for ImGuiSelectableFlags
[src]
type Output = ImGuiSelectableFlags
fn sub(self, other: ImGuiSelectableFlags) -> ImGuiSelectableFlags
Returns the set difference of the two sets of flags.
impl BitOr<ImGuiSelectableFlags> for ImGuiSelectableFlags
[src]
type Output = ImGuiSelectableFlags
fn bitor(self, other: ImGuiSelectableFlags) -> ImGuiSelectableFlags
Returns the union of the two sets of flags.
impl Copy for ImGuiSelectableFlags
[src]
impl BitAnd<ImGuiSelectableFlags> for ImGuiSelectableFlags
[src]
type Output = ImGuiSelectableFlags
fn bitand(self, other: ImGuiSelectableFlags) -> ImGuiSelectableFlags
Returns the intersection between the two sets of flags.
impl Ord for ImGuiSelectableFlags
[src]
fn cmp(&self, __arg_0: &ImGuiSelectableFlags) -> Ordering
impl BitXorAssign<ImGuiSelectableFlags> for ImGuiSelectableFlags
[src]
fn bitxor_assign(&mut self, other: ImGuiSelectableFlags)
Toggles the set of flags.
impl BitXor<ImGuiSelectableFlags> for ImGuiSelectableFlags
[src]
type Output = ImGuiSelectableFlags
fn bitxor(self, other: ImGuiSelectableFlags) -> ImGuiSelectableFlags
Returns the left flags, but with all the right flags toggled.
impl BitOrAssign<ImGuiSelectableFlags> for ImGuiSelectableFlags
[src]
fn bitor_assign(&mut self, other: ImGuiSelectableFlags)
Adds the set of flags.
impl Eq for ImGuiSelectableFlags
[src]
impl SubAssign<ImGuiSelectableFlags> for ImGuiSelectableFlags
[src]
fn sub_assign(&mut self, other: ImGuiSelectableFlags)
Disables all flags enabled in the set.
impl FromIterator<ImGuiSelectableFlags> for ImGuiSelectableFlags
[src]
fn from_iter<T>(iterator: T) -> ImGuiSelectableFlags where
T: IntoIterator<Item = ImGuiSelectableFlags>,
T: IntoIterator<Item = ImGuiSelectableFlags>,
impl Hash for ImGuiSelectableFlags
[src]
impl BitAndAssign<ImGuiSelectableFlags> for ImGuiSelectableFlags
[src]
fn bitand_assign(&mut self, other: ImGuiSelectableFlags)
Disables all flags disabled in the set.
impl PartialEq<ImGuiSelectableFlags> for ImGuiSelectableFlags
[src]
fn eq(&self, __arg_0: &ImGuiSelectableFlags) -> bool
fn ne(&self, __arg_0: &ImGuiSelectableFlags) -> bool
impl Not for ImGuiSelectableFlags
[src]
type Output = ImGuiSelectableFlags
fn not(self) -> ImGuiSelectableFlags
Returns the complement of this set of flags.
impl Debug for ImGuiSelectableFlags
[src]
impl Clone for ImGuiSelectableFlags
[src]
fn clone(&self) -> ImGuiSelectableFlags
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more