#[repr(C)]pub enum EditFlag {
Show 13 variants
Default = 0,
ReadOnly = 1,
AutoSelect = 2,
SigEnter = 4,
AllowTab = 8,
NoCursor = 16,
Selectable = 32,
Clipboard = 64,
CtrlEnterNewline = 128,
NoHorizontalScroll = 256,
AlwaysInsertMode = 512,
Multiline = 1_024,
GoToEndOnActivate = 2_048,
}
Variants§
Default = 0
ReadOnly = 1
AutoSelect = 2
SigEnter = 4
AllowTab = 8
NoCursor = 16
Selectable = 32
Clipboard = 64
CtrlEnterNewline = 128
NoHorizontalScroll = 256
AlwaysInsertMode = 512
Multiline = 1_024
GoToEndOnActivate = 2_048
Trait Implementations§
Source§impl<'a> From<&'a u32> for &'a EditFlag
impl<'a> From<&'a u32> for &'a EditFlag
Source§fn from(a: &'a nk_edit_flags) -> &'a EditFlag
fn from(a: &'a nk_edit_flags) -> &'a EditFlag
Converts to this type from the input type.
Source§impl From<EditFlag> for nk_edit_flags
impl From<EditFlag> for nk_edit_flags
Source§fn from(a: EditFlag) -> nk_edit_flags
fn from(a: EditFlag) -> nk_edit_flags
Converts to this type from the input type.
Source§impl From<u32> for EditFlag
impl From<u32> for EditFlag
Source§fn from(a: nk_edit_flags) -> EditFlag
fn from(a: nk_edit_flags) -> EditFlag
Converts to this type from the input type.
impl Copy for EditFlag
impl Eq for EditFlag
impl StructuralPartialEq for EditFlag
Auto Trait Implementations§
impl Freeze for EditFlag
impl RefUnwindSafe for EditFlag
impl Send for EditFlag
impl Sync for EditFlag
impl Unpin for EditFlag
impl UnwindSafe for EditFlag
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