Struct imgui::ImGuiSelectableFlags
[−]
[src]
#[repr(C)]pub struct ImGuiSelectableFlags { /* fields omitted */ }
Flags for selectables
Methods
impl ImGuiSelectableFlags
[src]
const DontClosePopups: ImGuiSelectableFlags
DontClosePopups: ImGuiSelectableFlags = ImGuiSelectableFlags{bits: 1,}
const SpanAllColumns: ImGuiSelectableFlags
SpanAllColumns: ImGuiSelectableFlags = ImGuiSelectableFlags{bits: 1 << 1,}
const AllowDoubleClick: ImGuiSelectableFlags
AllowDoubleClick: ImGuiSelectableFlags = ImGuiSelectableFlags{bits: 1 << 2,}
fn empty() -> ImGuiSelectableFlags
[src]
Returns an empty set of flags.
fn all() -> ImGuiSelectableFlags
[src]
Returns the set containing all flags.
fn bits(&self) -> i32
[src]
Returns the raw value of the flags currently stored.
fn from_bits(bits: i32) -> Option<ImGuiSelectableFlags>
[src]
Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.
fn from_bits_truncate(bits: i32) -> ImGuiSelectableFlags
[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: ImGuiSelectableFlags) -> bool
[src]
Returns true
if there are flags common to both self
and other
.
fn contains(&self, other: ImGuiSelectableFlags) -> bool
[src]
Returns true
all of the flags in other
are contained within self
.
fn insert(&mut self, other: ImGuiSelectableFlags)
[src]
Inserts the specified flags in-place.
fn remove(&mut self, other: ImGuiSelectableFlags)
[src]
Removes the specified flags in-place.
fn toggle(&mut self, other: ImGuiSelectableFlags)
[src]
Toggles the specified flags in-place.
fn set(&mut self, other: ImGuiSelectableFlags, value: bool)
[src]
Inserts or removes the specified flags depending on the passed value.
Trait Implementations
impl Ord for ImGuiSelectableFlags
[src]
fn cmp(&self, __arg_0: &ImGuiSelectableFlags) -> Ordering
[src]
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.22.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.22.0[src]
Compares and returns the minimum of two values. Read more
impl Copy for ImGuiSelectableFlags
[src]
impl Hash for ImGuiSelectableFlags
[src]
fn hash<__H>(&self, __arg_0: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Not for ImGuiSelectableFlags
[src]
type Output = ImGuiSelectableFlags
fn not(self) -> ImGuiSelectableFlags
[src]
Returns the complement of this set of flags.
impl Clone for ImGuiSelectableFlags
[src]
fn clone(&self) -> ImGuiSelectableFlags
[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 BitXor<ImGuiSelectableFlags> for ImGuiSelectableFlags
[src]
type Output = ImGuiSelectableFlags
fn bitxor(self, other: ImGuiSelectableFlags) -> ImGuiSelectableFlags
[src]
Returns the left flags, but with all the right flags toggled.
impl BitOr<ImGuiSelectableFlags> for ImGuiSelectableFlags
[src]
type Output = ImGuiSelectableFlags
fn bitor(self, other: ImGuiSelectableFlags) -> ImGuiSelectableFlags
[src]
Returns the union of the two sets of flags.
impl BitOrAssign<ImGuiSelectableFlags> for ImGuiSelectableFlags
[src]
fn bitor_assign(&mut self, other: ImGuiSelectableFlags)
[src]
Adds the set of flags.
impl BitAndAssign<ImGuiSelectableFlags> for ImGuiSelectableFlags
[src]
fn bitand_assign(&mut self, other: ImGuiSelectableFlags)
[src]
Disables all flags disabled in the set.
impl Octal for ImGuiSelectableFlags
[src]
impl PartialEq<ImGuiSelectableFlags> for ImGuiSelectableFlags
[src]
fn eq(&self, __arg_0: &ImGuiSelectableFlags) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ImGuiSelectableFlags) -> bool
[src]
This method tests for !=
.
impl Debug for ImGuiSelectableFlags
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter.
impl Extend<ImGuiSelectableFlags> for ImGuiSelectableFlags
[src]
fn extend<T>(&mut self, iterator: T) where
T: IntoIterator<Item = ImGuiSelectableFlags>,
[src]
T: IntoIterator<Item = ImGuiSelectableFlags>,
impl SubAssign<ImGuiSelectableFlags> for ImGuiSelectableFlags
[src]
fn sub_assign(&mut self, other: ImGuiSelectableFlags)
[src]
Disables all flags enabled in the set.
impl BitAnd<ImGuiSelectableFlags> for ImGuiSelectableFlags
[src]
type Output = ImGuiSelectableFlags
fn bitand(self, other: ImGuiSelectableFlags) -> ImGuiSelectableFlags
[src]
Returns the intersection between the two sets of flags.
impl BitXorAssign<ImGuiSelectableFlags> for ImGuiSelectableFlags
[src]
fn bitxor_assign(&mut self, other: ImGuiSelectableFlags)
[src]
Toggles the set of flags.
impl UpperHex for ImGuiSelectableFlags
[src]
impl Eq for ImGuiSelectableFlags
[src]
impl Binary for ImGuiSelectableFlags
[src]
impl FromIterator<ImGuiSelectableFlags> for ImGuiSelectableFlags
[src]
fn from_iter<T>(iterator: T) -> ImGuiSelectableFlags where
T: IntoIterator<Item = ImGuiSelectableFlags>,
[src]
T: IntoIterator<Item = ImGuiSelectableFlags>,
impl LowerHex for ImGuiSelectableFlags
[src]
impl Sub<ImGuiSelectableFlags> for ImGuiSelectableFlags
[src]
type Output = ImGuiSelectableFlags
fn sub(self, other: ImGuiSelectableFlags) -> ImGuiSelectableFlags
[src]
Returns the set difference of the two sets of flags.
impl PartialOrd<ImGuiSelectableFlags> for ImGuiSelectableFlags
[src]
fn partial_cmp(&self, __arg_0: &ImGuiSelectableFlags) -> Option<Ordering>
[src]
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &ImGuiSelectableFlags) -> bool
[src]
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &ImGuiSelectableFlags) -> bool
[src]
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, __arg_0: &ImGuiSelectableFlags) -> bool
[src]
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &ImGuiSelectableFlags) -> bool
[src]
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more