#[repr(u32)]pub enum ImGuiInputTextFlag {
Show 24 variants
CharsDecimal = 1,
CharsHexadecimal = 2,
CharsScientific = 4,
CharsUppercase = 8,
CharsNoBlank = 16,
AllowTabInput = 32,
EnterReturnsTrue = 64,
EscapeClearsAll = 128,
CtrlEnterForNewLine = 256,
ReadOnly = 512,
Password = 1_024,
AlwaysOverwrite = 2_048,
AutoSelectAll = 4_096,
ParseEmptyRefVal = 8_192,
DisplayEmptyRefVal = 16_384,
NoHorizontalScroll = 32_768,
NoUndoRedo = 65_536,
ElideLeft = 131_072,
CallbackCompletion = 262_144,
CallbackHistory = 524_288,
CallbackAlways = 1_048_576,
CallbackCharFilter = 2_097_152,
CallbackResize = 4_194_304,
CallbackEdit = 8_388_608,
}Variants§
CharsDecimal = 1
CharsHexadecimal = 2
CharsScientific = 4
CharsUppercase = 8
CharsNoBlank = 16
AllowTabInput = 32
EnterReturnsTrue = 64
EscapeClearsAll = 128
CtrlEnterForNewLine = 256
ReadOnly = 512
Password = 1_024
AlwaysOverwrite = 2_048
AutoSelectAll = 4_096
ParseEmptyRefVal = 8_192
DisplayEmptyRefVal = 16_384
NoHorizontalScroll = 32_768
NoUndoRedo = 65_536
ElideLeft = 131_072
CallbackCompletion = 262_144
CallbackHistory = 524_288
CallbackAlways = 1_048_576
CallbackCharFilter = 2_097_152
CallbackResize = 4_194_304
CallbackEdit = 8_388_608
Trait Implementations§
Source§impl BitAnd for ImGuiInputTextFlag
impl BitAnd for ImGuiInputTextFlag
Source§impl BitFlag for ImGuiInputTextFlag
impl BitFlag for ImGuiInputTextFlag
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 ImGuiInputTextFlag
impl BitOr for ImGuiInputTextFlag
Source§impl BitXor for ImGuiInputTextFlag
impl BitXor for ImGuiInputTextFlag
Source§impl Clone for ImGuiInputTextFlag
impl Clone for ImGuiInputTextFlag
Source§fn clone(&self) -> ImGuiInputTextFlag
fn clone(&self) -> ImGuiInputTextFlag
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 ImGuiInputTextFlag
impl Debug for ImGuiInputTextFlag
Source§impl Not for ImGuiInputTextFlag
impl Not for ImGuiInputTextFlag
Source§impl PartialEq for ImGuiInputTextFlag
impl PartialEq for ImGuiInputTextFlag
Source§impl RawBitFlags for ImGuiInputTextFlag
impl RawBitFlags for ImGuiInputTextFlag
Source§const EMPTY: <Self as RawBitFlags>::Numeric = {transmute(0x00000000): <dora::ImGuiInputTextFlag as enumflags2::_internal::RawBitFlags>::Numeric}
const EMPTY: <Self as RawBitFlags>::Numeric = {transmute(0x00000000): <dora::ImGuiInputTextFlag as enumflags2::_internal::RawBitFlags>::Numeric}
A value with no bits set.
Source§const DEFAULT: <Self as RawBitFlags>::Numeric = {transmute(0x00000000): <dora::ImGuiInputTextFlag as enumflags2::_internal::RawBitFlags>::Numeric}
const DEFAULT: <Self as RawBitFlags>::Numeric = {transmute(0x00000000): <dora::ImGuiInputTextFlag 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(0x00ffffff): <dora::ImGuiInputTextFlag as enumflags2::_internal::RawBitFlags>::Numeric}
const ALL_BITS: <Self as RawBitFlags>::Numeric = {transmute(0x00ffffff): <dora::ImGuiInputTextFlag as enumflags2::_internal::RawBitFlags>::Numeric}
A value with all flag bits set.
Source§const BITFLAGS_TYPE_NAME: &'static str = "BitFlags<ImGuiInputTextFlag>"
const BITFLAGS_TYPE_NAME: &'static str = "BitFlags<ImGuiInputTextFlag>"
The name of the type for debug formatting purposes. Read more
impl Copy for ImGuiInputTextFlag
impl StructuralPartialEq for ImGuiInputTextFlag
Auto Trait Implementations§
impl Freeze for ImGuiInputTextFlag
impl RefUnwindSafe for ImGuiInputTextFlag
impl Send for ImGuiInputTextFlag
impl Sync for ImGuiInputTextFlag
impl Unpin for ImGuiInputTextFlag
impl UnwindSafe for ImGuiInputTextFlag
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