#[non_exhaustive]pub enum OperationKind {
Container,
Scrollable,
Focusable,
TextInput,
Text,
Custom,
Window,
}Expand description
The operation callback an inferred node came from.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Container
container, or a traverse with nothing reported first.
Scrollable
scrollable.
Focusable
focusable.
TextInput
text_input.
Text
text.
Custom
custom with something other than an annotation.
Window
The window itself.
Implementations§
Trait Implementations§
Source§impl Clone for OperationKind
impl Clone for OperationKind
impl Copy for OperationKind
Source§impl Debug for OperationKind
impl Debug for OperationKind
Source§impl<'de> Deserialize<'de> for OperationKind
impl<'de> Deserialize<'de> for OperationKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for OperationKind
Source§impl Hash for OperationKind
impl Hash for OperationKind
Source§impl PartialEq for OperationKind
impl PartialEq for OperationKind
Source§impl Serialize for OperationKind
impl Serialize for OperationKind
impl StructuralPartialEq for OperationKind
Auto Trait Implementations§
impl Forget for OperationKind
impl Freeze for OperationKind
impl Move for OperationKind
impl RefUnwindSafe for OperationKind
impl Send for OperationKind
impl Sync for OperationKind
impl Unpin for OperationKind
impl UnsafeUnpin for OperationKind
impl UnwindSafe for OperationKind
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