Struct imgui::ImGuiTreeNodeFlags [] [src]

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

Flags for trees and collapsing headers

Methods

impl ImGuiTreeNodeFlags
[src]

Selected: ImGuiTreeNodeFlags = ImGuiTreeNodeFlags{bits: 1,}

Framed: ImGuiTreeNodeFlags = ImGuiTreeNodeFlags{bits: 1 << 1,}

AllowOverlapMode: ImGuiTreeNodeFlags = ImGuiTreeNodeFlags{bits: 1 << 2,}

NoTreePushOnOpen: ImGuiTreeNodeFlags = ImGuiTreeNodeFlags{bits: 1 << 3,}

NoAutoOpenOnLog: ImGuiTreeNodeFlags = ImGuiTreeNodeFlags{bits: 1 << 4,}

DefaultOpen: ImGuiTreeNodeFlags = ImGuiTreeNodeFlags{bits: 1 << 5,}

OpenOnDoubleClick: ImGuiTreeNodeFlags = ImGuiTreeNodeFlags{bits: 1 << 6,}

OpenOnArrow: ImGuiTreeNodeFlags = ImGuiTreeNodeFlags{bits: 1 << 7,}

Leaf: ImGuiTreeNodeFlags = ImGuiTreeNodeFlags{bits: 1 << 8,}

Bullet: ImGuiTreeNodeFlags = ImGuiTreeNodeFlags{bits: 1 << 9,}

CollapsingHeader: ImGuiTreeNodeFlags = ImGuiTreeNodeFlags{bits:
                       <ImGuiTreeNodeFlags>::Framed.bits |
                           <ImGuiTreeNodeFlags>::NoAutoOpenOnLog.bits,}

[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 ImGuiTreeNodeFlags
[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 ImGuiTreeNodeFlags
[src]

impl Hash for ImGuiTreeNodeFlags
[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 ImGuiTreeNodeFlags
[src]

[src]

Returns the complement of this set of flags.

impl Clone for ImGuiTreeNodeFlags
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl BitXor<ImGuiTreeNodeFlags> for ImGuiTreeNodeFlags
[src]

[src]

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

impl BitOr<ImGuiTreeNodeFlags> for ImGuiTreeNodeFlags
[src]

[src]

Returns the union of the two sets of flags.

impl BitOrAssign<ImGuiTreeNodeFlags> for ImGuiTreeNodeFlags
[src]

[src]

Adds the set of flags.

impl Octal for ImGuiTreeNodeFlags
[src]

[src]

impl BitAndAssign<ImGuiTreeNodeFlags> for ImGuiTreeNodeFlags
[src]

[src]

Disables all flags disabled in the set.

impl PartialEq<ImGuiTreeNodeFlags> for ImGuiTreeNodeFlags
[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 ImGuiTreeNodeFlags
[src]

[src]

Formats the value using the given formatter.

impl Extend<ImGuiTreeNodeFlags> for ImGuiTreeNodeFlags
[src]

[src]

impl SubAssign<ImGuiTreeNodeFlags> for ImGuiTreeNodeFlags
[src]

[src]

Disables all flags enabled in the set.

impl BitAnd<ImGuiTreeNodeFlags> for ImGuiTreeNodeFlags
[src]

[src]

Returns the intersection between the two sets of flags.

impl BitXorAssign<ImGuiTreeNodeFlags> for ImGuiTreeNodeFlags
[src]

[src]

Toggles the set of flags.

impl UpperHex for ImGuiTreeNodeFlags
[src]

[src]

impl Eq for ImGuiTreeNodeFlags
[src]

impl Binary for ImGuiTreeNodeFlags
[src]

[src]

impl FromIterator<ImGuiTreeNodeFlags> for ImGuiTreeNodeFlags
[src]

[src]

impl LowerHex for ImGuiTreeNodeFlags
[src]

[src]

impl Sub<ImGuiTreeNodeFlags> for ImGuiTreeNodeFlags
[src]

[src]

Returns the set difference of the two sets of flags.

impl PartialOrd<ImGuiTreeNodeFlags> for ImGuiTreeNodeFlags
[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