Struct imgui::ImGuiColorEditFlags [] [src]

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

Color edit flags

Methods

impl ImGuiColorEditFlags
[src]

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,}

[src]

Returns an empty set of flags.

[src]

Returns the set containing all flags.

[src]

Returns the raw value of the flags currently stored.

[src]

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

[src]

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

[src]

Returns true if no flags are currently stored.

[src]

Returns true if all flags are currently set.

[src]

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

[src]

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

[src]

Inserts the specified flags in-place.

[src]

Removes the specified flags in-place.

[src]

Toggles the specified flags in-place.

[src]

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

Trait Implementations

impl Ord for ImGuiColorEditFlags
[src]

[src]

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

1.22.0
[src]

Compares and returns the maximum of two values. Read more

1.22.0
[src]

Compares and returns the minimum of two values. Read more

impl Copy for ImGuiColorEditFlags
[src]

impl Hash for ImGuiColorEditFlags
[src]

[src]

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

1.3.0
[src]

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

impl Not for ImGuiColorEditFlags
[src]

[src]

Returns the complement of this set of flags.

impl Clone for ImGuiColorEditFlags
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl BitXor<ImGuiColorEditFlags> for ImGuiColorEditFlags
[src]

[src]

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

impl BitOr<ImGuiColorEditFlags> for ImGuiColorEditFlags
[src]

[src]

Returns the union of the two sets of flags.

impl BitOrAssign<ImGuiColorEditFlags> for ImGuiColorEditFlags
[src]

[src]

Adds the set of flags.

impl Octal for ImGuiColorEditFlags
[src]

[src]

impl BitAndAssign<ImGuiColorEditFlags> for ImGuiColorEditFlags
[src]

[src]

Disables all flags disabled in the set.

impl PartialEq<ImGuiColorEditFlags> for ImGuiColorEditFlags
[src]

[src]

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

[src]

This method tests for !=.

impl Debug for ImGuiColorEditFlags
[src]

[src]

Formats the value using the given formatter.

impl Extend<ImGuiColorEditFlags> for ImGuiColorEditFlags
[src]

[src]

impl SubAssign<ImGuiColorEditFlags> for ImGuiColorEditFlags
[src]

[src]

Disables all flags enabled in the set.

impl BitAnd<ImGuiColorEditFlags> for ImGuiColorEditFlags
[src]

[src]

Returns the intersection between the two sets of flags.

impl BitXorAssign<ImGuiColorEditFlags> for ImGuiColorEditFlags
[src]

[src]

Toggles the set of flags.

impl UpperHex for ImGuiColorEditFlags
[src]

[src]

impl Eq for ImGuiColorEditFlags
[src]

impl Binary for ImGuiColorEditFlags
[src]

[src]

impl FromIterator<ImGuiColorEditFlags> for ImGuiColorEditFlags
[src]

[src]

impl LowerHex for ImGuiColorEditFlags
[src]

[src]

impl Sub<ImGuiColorEditFlags> for ImGuiColorEditFlags
[src]

[src]

Returns the set difference of the two sets of flags.

impl PartialOrd<ImGuiColorEditFlags> for ImGuiColorEditFlags
[src]

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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