pub enum NodeCustomEventType {
OnMeasure,
OnLayout,
OnDraw,
OnForegroundDraw,
OnOverlayDraw,
}Expand description
Event types emitted by custom node callbacks.
Variants§
Implementations§
Source§impl NodeCustomEventType
impl NodeCustomEventType
pub fn try_from_raw(attr: ArkUI_NodeCustomEventType) -> Option<Self>
Trait Implementations§
Source§impl Clone for NodeCustomEventType
impl Clone for NodeCustomEventType
Source§fn clone(&self) -> NodeCustomEventType
fn clone(&self) -> NodeCustomEventType
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 NodeCustomEventType
impl Debug for NodeCustomEventType
Source§impl From<NodeCustomEventType> for ArkUI_NodeCustomEventType
impl From<NodeCustomEventType> for ArkUI_NodeCustomEventType
Source§fn from(attr: NodeCustomEventType) -> Self
fn from(attr: NodeCustomEventType) -> Self
Converts to this type from the input type.
Source§impl From<u32> for NodeCustomEventType
impl From<u32> for NodeCustomEventType
Source§fn from(attr: ArkUI_NodeCustomEventType) -> Self
fn from(attr: ArkUI_NodeCustomEventType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for NodeCustomEventType
impl PartialEq for NodeCustomEventType
Source§fn eq(&self, other: &NodeCustomEventType) -> bool
fn eq(&self, other: &NodeCustomEventType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for NodeCustomEventType
impl Eq for NodeCustomEventType
impl StructuralPartialEq for NodeCustomEventType
Auto Trait Implementations§
impl Freeze for NodeCustomEventType
impl RefUnwindSafe for NodeCustomEventType
impl Send for NodeCustomEventType
impl Sync for NodeCustomEventType
impl Unpin for NodeCustomEventType
impl UnsafeUnpin for NodeCustomEventType
impl UnwindSafe for NodeCustomEventType
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