Enum EditMode
#[repr(i32)]pub enum EditMode {
Automatic = 0,
Triggered = 1,
}Expand description
The edit modes.
Variants§
Automatic = 0
A Text %Box node enters the editing state when the node gets the focus, and leaves the editing state when the node loses the focus.
Triggered = 1
A Text %Box enters the editing state on a trigger, and remains in this state until another trigger makes the node leave the editing state. To enter the editing state use the EnterEditingStateMessage message or the TextBoxConceptImpl::enterEditingState() method. To leave the editing state use the LeaveEditingStateMessage message or the TextBoxConceptImpl::leaveEditingState() method.
Implementations§
Trait Implementations§
§impl VariantConstraint for EditMode
impl VariantConstraint for EditMode
impl Copy for EditMode
impl Eq for EditMode
impl PropertyTypeConstraint for EditMode
impl StructuralPartialEq for EditMode
Auto Trait Implementations§
impl Freeze for EditMode
impl RefUnwindSafe for EditMode
impl Send for EditMode
impl Sync for EditMode
impl Unpin for EditMode
impl UnwindSafe for EditMode
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