pub enum Action {
Unknown,
Down,
Up,
}Variants§
Implementations§
Source§impl Action
impl Action
pub fn try_from_raw(attr: OH_NativeXComponent_KeyAction) -> Option<Self>
Trait Implementations§
Source§impl From<Action> for OH_NativeXComponent_KeyAction
impl From<Action> for OH_NativeXComponent_KeyAction
Source§impl From<i32> for Action
impl From<i32> for Action
Source§fn from(attr: OH_NativeXComponent_KeyAction) -> Self
fn from(attr: OH_NativeXComponent_KeyAction) -> Self
Converts to this type from the input type.
impl Copy for Action
impl Eq for Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnsafeUnpin for Action
impl UnwindSafe for Action
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