pub enum NodeContentEventType {
OnAttachToWindow,
OnDetachFromWindow,
}Expand description
Event types emitted by NodeContent.
Variants§
Implementations§
Source§impl NodeContentEventType
impl NodeContentEventType
pub fn try_from_raw(attr: ArkUI_NodeContentEventType) -> Option<Self>
Trait Implementations§
Source§impl Clone for NodeContentEventType
impl Clone for NodeContentEventType
Source§fn clone(&self) -> NodeContentEventType
fn clone(&self) -> NodeContentEventType
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 moreimpl Copy for NodeContentEventType
Source§impl Debug for NodeContentEventType
impl Debug for NodeContentEventType
impl Eq for NodeContentEventType
Source§impl From<NodeContentEventType> for ArkUI_NodeContentEventType
impl From<NodeContentEventType> for ArkUI_NodeContentEventType
Source§fn from(attr: NodeContentEventType) -> Self
fn from(attr: NodeContentEventType) -> Self
Converts to this type from the input type.
Source§impl From<u32> for NodeContentEventType
impl From<u32> for NodeContentEventType
Source§fn from(attr: ArkUI_NodeContentEventType) -> Self
fn from(attr: ArkUI_NodeContentEventType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for NodeContentEventType
impl PartialEq for NodeContentEventType
impl StructuralPartialEq for NodeContentEventType
Auto Trait Implementations§
impl Freeze for NodeContentEventType
impl RefUnwindSafe for NodeContentEventType
impl Send for NodeContentEventType
impl Sync for NodeContentEventType
impl Unpin for NodeContentEventType
impl UnsafeUnpin for NodeContentEventType
impl UnwindSafe for NodeContentEventType
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