pub enum InputContext {
Global,
NodeCanvas,
TextInput,
Timeline,
}Expand description
Focus domain gating which actions a key event may reach.
Global actions are always active; other contexts only fire while the
matching focus is set through InputSystem::set_context.
Donor: oa::InputContext.
Variants§
Global
Always active.
NodeCanvas
Active when the node canvas has focus.
TextInput
Active when a text field has focus.
Timeline
Active when the timeline has focus.
Trait Implementations§
Source§impl Clone for InputContext
impl Clone for InputContext
impl Copy for InputContext
Source§impl Debug for InputContext
impl Debug for InputContext
Source§impl Default for InputContext
impl Default for InputContext
impl Eq for InputContext
Source§impl PartialEq for InputContext
impl PartialEq for InputContext
impl StructuralPartialEq for InputContext
Auto Trait Implementations§
impl Forget for InputContext
impl Freeze for InputContext
impl Move for InputContext
impl RefUnwindSafe for InputContext
impl Send for InputContext
impl Sync for InputContext
impl Unpin for InputContext
impl UnsafeUnpin for InputContext
impl UnwindSafe for InputContext
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