#[repr(u32)]pub enum ImGuiTreeNodeFlag {
Show 17 variants
Selected = 1,
Framed = 2,
AllowOverlap = 4,
NoTreePushOnOpen = 8,
NoAutoOpenOnLog = 16,
DefaultOpen = 32,
OpenOnDoubleClick = 64,
OpenOnArrow = 128,
Leaf = 256,
Bullet = 512,
FramePadding = 1_024,
SpanAvailWidth = 2_048,
SpanFullWidth = 4_096,
SpanLabelWidth = 8_192,
SpanAllColumns = 16_384,
LabelSpanAllColumns = 32_768,
NavLeftJumpsToParent = 131_072,
}Variants§
Selected = 1
Framed = 2
AllowOverlap = 4
NoTreePushOnOpen = 8
NoAutoOpenOnLog = 16
DefaultOpen = 32
OpenOnDoubleClick = 64
OpenOnArrow = 128
Leaf = 256
Bullet = 512
FramePadding = 1_024
SpanAvailWidth = 2_048
SpanFullWidth = 4_096
SpanLabelWidth = 8_192
SpanAllColumns = 16_384
LabelSpanAllColumns = 32_768
Implementations§
Source§impl ImGuiTreeNodeFlag
impl ImGuiTreeNodeFlag
pub const COLLAPSING_HEADER: BitFlags<Self>
Trait Implementations§
Source§impl BitAnd for ImGuiTreeNodeFlag
impl BitAnd for ImGuiTreeNodeFlag
Source§impl BitFlag for ImGuiTreeNodeFlag
impl BitFlag for ImGuiTreeNodeFlag
Source§fn empty() -> BitFlags<Self>
fn empty() -> BitFlags<Self>
Create a
BitFlags with no flags set (in other words, with a value of 0). Read moreSource§fn from_bits(bits: Self::Numeric) -> Result<BitFlags<Self>, FromBitsError<Self>>
fn from_bits(bits: Self::Numeric) -> Result<BitFlags<Self>, FromBitsError<Self>>
Create a
BitFlags if the raw value provided does not contain
any illegal flags. Read moreSource§fn from_bits_truncate(bits: Self::Numeric) -> BitFlags<Self>
fn from_bits_truncate(bits: Self::Numeric) -> BitFlags<Self>
Create a
BitFlags from an underlying bitwise value. If any
invalid bits are set, ignore them. Read moreSource§unsafe fn from_bits_unchecked(bits: Self::Numeric) -> BitFlags<Self>
unsafe fn from_bits_unchecked(bits: Self::Numeric) -> BitFlags<Self>
Create a
BitFlags unsafely, without checking if the bits form
a valid bit pattern for the type. Read moreSource§impl BitOr for ImGuiTreeNodeFlag
impl BitOr for ImGuiTreeNodeFlag
Source§impl BitXor for ImGuiTreeNodeFlag
impl BitXor for ImGuiTreeNodeFlag
Source§impl Clone for ImGuiTreeNodeFlag
impl Clone for ImGuiTreeNodeFlag
Source§fn clone(&self) -> ImGuiTreeNodeFlag
fn clone(&self) -> ImGuiTreeNodeFlag
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ImGuiTreeNodeFlag
impl Debug for ImGuiTreeNodeFlag
Source§impl Not for ImGuiTreeNodeFlag
impl Not for ImGuiTreeNodeFlag
Source§impl PartialEq for ImGuiTreeNodeFlag
impl PartialEq for ImGuiTreeNodeFlag
Source§impl RawBitFlags for ImGuiTreeNodeFlag
impl RawBitFlags for ImGuiTreeNodeFlag
Source§const EMPTY: <Self as RawBitFlags>::Numeric = {transmute(0x00000000): <dora::ImGuiTreeNodeFlag as enumflags2::_internal::RawBitFlags>::Numeric}
const EMPTY: <Self as RawBitFlags>::Numeric = {transmute(0x00000000): <dora::ImGuiTreeNodeFlag as enumflags2::_internal::RawBitFlags>::Numeric}
A value with no bits set.
Source§const DEFAULT: <Self as RawBitFlags>::Numeric = {transmute(0x00000000): <dora::ImGuiTreeNodeFlag as enumflags2::_internal::RawBitFlags>::Numeric}
const DEFAULT: <Self as RawBitFlags>::Numeric = {transmute(0x00000000): <dora::ImGuiTreeNodeFlag as enumflags2::_internal::RawBitFlags>::Numeric}
The value used by the Default implementation. Equivalent to EMPTY, unless
customized.
Source§const ALL_BITS: <Self as RawBitFlags>::Numeric = {transmute(0x0002ffff): <dora::ImGuiTreeNodeFlag as enumflags2::_internal::RawBitFlags>::Numeric}
const ALL_BITS: <Self as RawBitFlags>::Numeric = {transmute(0x0002ffff): <dora::ImGuiTreeNodeFlag as enumflags2::_internal::RawBitFlags>::Numeric}
A value with all flag bits set.
Source§const BITFLAGS_TYPE_NAME: &'static str = "BitFlags<ImGuiTreeNodeFlag>"
const BITFLAGS_TYPE_NAME: &'static str = "BitFlags<ImGuiTreeNodeFlag>"
The name of the type for debug formatting purposes. Read more
impl Copy for ImGuiTreeNodeFlag
impl StructuralPartialEq for ImGuiTreeNodeFlag
Auto Trait Implementations§
impl Freeze for ImGuiTreeNodeFlag
impl RefUnwindSafe for ImGuiTreeNodeFlag
impl Send for ImGuiTreeNodeFlag
impl Sync for ImGuiTreeNodeFlag
impl Unpin for ImGuiTreeNodeFlag
impl UnwindSafe for ImGuiTreeNodeFlag
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more