Struct imgui::ImGuiColorEditFlags[]

#[repr(C)]
pub struct ImGuiColorEditFlags { /* fields omitted */ }

Color edit flags

Methods

impl ImGuiColorEditFlags

NoAlpha: ImGuiColorEditFlags = ImGuiColorEditFlags{bits: 1 << 1,}

NoPicker: ImGuiColorEditFlags = ImGuiColorEditFlags{bits: 1 << 2,}

NoOptions: ImGuiColorEditFlags = ImGuiColorEditFlags{bits: 1 << 3,}

NoSmallPreview: ImGuiColorEditFlags = ImGuiColorEditFlags{bits: 1 << 4,}

NoInputs: ImGuiColorEditFlags = ImGuiColorEditFlags{bits: 1 << 5,}

NoTooltip: ImGuiColorEditFlags = ImGuiColorEditFlags{bits: 1 << 6,}

NoLabel: ImGuiColorEditFlags = ImGuiColorEditFlags{bits: 1 << 7,}

NoSidePreview: ImGuiColorEditFlags = ImGuiColorEditFlags{bits: 1 << 8,}

AlphaBar: ImGuiColorEditFlags = ImGuiColorEditFlags{bits: 1 << 9,}

AlphaPreview: ImGuiColorEditFlags = ImGuiColorEditFlags{bits: 1 << 10,}

AlphaPreviewHalf: ImGuiColorEditFlags = ImGuiColorEditFlags{bits: 1 << 11,}

HDR: ImGuiColorEditFlags = ImGuiColorEditFlags{bits: 1 << 12,}

RGB: ImGuiColorEditFlags = ImGuiColorEditFlags{bits: 1 << 13,}

HSV: ImGuiColorEditFlags = ImGuiColorEditFlags{bits: 1 << 14,}

HEX: ImGuiColorEditFlags = ImGuiColorEditFlags{bits: 1 << 15,}

Uint8: ImGuiColorEditFlags = ImGuiColorEditFlags{bits: 1 << 16,}

Float: ImGuiColorEditFlags = ImGuiColorEditFlags{bits: 1 << 17,}

PickerHueBar: ImGuiColorEditFlags = ImGuiColorEditFlags{bits: 1 << 18,}

PickerHueWheel: ImGuiColorEditFlags = ImGuiColorEditFlags{bits: 1 << 19,}

Returns an empty set of flags.

Returns the set containing all flags.

Returns the raw value of the flags currently stored.

Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.

Convert from underlying bit representation, dropping any bits that do not correspond to flags.

Returns true if no flags are currently stored.

Returns true if all flags are currently set.

Returns true if there are flags common to both self and other.

Returns true all of the flags in other are contained within self.

Inserts the specified flags in-place.

Removes the specified flags in-place.

Toggles the specified flags in-place.

Inserts or removes the specified flags depending on the passed value.

Trait Implementations

impl BitXorAssign<ImGuiColorEditFlags> for ImGuiColorEditFlags

Toggles the set of flags.

impl Not for ImGuiColorEditFlags

The resulting type after applying the ! operator.

Returns the complement of this set of flags.

impl BitOrAssign<ImGuiColorEditFlags> for ImGuiColorEditFlags

Adds the set of flags.

impl LowerHex for ImGuiColorEditFlags

Formats the value using the given formatter.

impl BitAnd<ImGuiColorEditFlags> for ImGuiColorEditFlags

The resulting type after applying the & operator.

Returns the intersection between the two sets of flags.

impl PartialOrd<ImGuiColorEditFlags> for ImGuiColorEditFlags

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Extend<ImGuiColorEditFlags> for ImGuiColorEditFlags

Extends a collection with the contents of an iterator. Read more

impl Hash for ImGuiColorEditFlags

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Sub<ImGuiColorEditFlags> for ImGuiColorEditFlags

The resulting type after applying the - operator.

Returns the set difference of the two sets of flags.

impl Clone for ImGuiColorEditFlags

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ImGuiColorEditFlags

Formats the value using the given formatter. Read more

impl Ord for ImGuiColorEditFlags

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl Binary for ImGuiColorEditFlags

Formats the value using the given formatter.

impl Octal for ImGuiColorEditFlags

Formats the value using the given formatter.

impl UpperHex for ImGuiColorEditFlags

Formats the value using the given formatter.

impl BitOr<ImGuiColorEditFlags> for ImGuiColorEditFlags

The resulting type after applying the | operator.

Returns the union of the two sets of flags.

impl FromIterator<ImGuiColorEditFlags> for ImGuiColorEditFlags

Creates a value from an iterator. Read more

impl SubAssign<ImGuiColorEditFlags> for ImGuiColorEditFlags

Disables all flags enabled in the set.

impl BitXor<ImGuiColorEditFlags> for ImGuiColorEditFlags

The resulting type after applying the ^ operator.

Returns the left flags, but with all the right flags toggled.

impl Copy for ImGuiColorEditFlags

impl BitAndAssign<ImGuiColorEditFlags> for ImGuiColorEditFlags

Disables all flags disabled in the set.

impl Eq for ImGuiColorEditFlags

impl PartialEq<ImGuiColorEditFlags> for ImGuiColorEditFlags

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations