pub enum TouchPointTool {
Unknown,
Finger,
Pen,
Rubber,
Brush,
Pencil,
Airbrush,
Mouse,
Lens,
}Variants§
Implementations§
Source§impl TouchPointTool
impl TouchPointTool
pub fn try_from_raw( attr: OH_NativeXComponent_TouchPointToolType, ) -> Option<Self>
Trait Implementations§
Source§impl Clone for TouchPointTool
impl Clone for TouchPointTool
Source§fn clone(&self) -> TouchPointTool
fn clone(&self) -> TouchPointTool
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TouchPointTool
impl Debug for TouchPointTool
Source§impl From<TouchPointTool> for OH_NativeXComponent_TouchPointToolType
impl From<TouchPointTool> for OH_NativeXComponent_TouchPointToolType
Source§fn from(attr: TouchPointTool) -> Self
fn from(attr: TouchPointTool) -> Self
Converts to this type from the input type.
Source§impl From<u32> for TouchPointTool
impl From<u32> for TouchPointTool
Source§fn from(attr: OH_NativeXComponent_TouchPointToolType) -> Self
fn from(attr: OH_NativeXComponent_TouchPointToolType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TouchPointTool
impl PartialEq for TouchPointTool
Source§fn eq(&self, other: &TouchPointTool) -> bool
fn eq(&self, other: &TouchPointTool) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TouchPointTool
impl Eq for TouchPointTool
impl StructuralPartialEq for TouchPointTool
Auto Trait Implementations§
impl Freeze for TouchPointTool
impl RefUnwindSafe for TouchPointTool
impl Send for TouchPointTool
impl Sync for TouchPointTool
impl Unpin for TouchPointTool
impl UnsafeUnpin for TouchPointTool
impl UnwindSafe for TouchPointTool
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