pub enum NavDestinationState {
OnShow,
OnHide,
OnAppear,
OnDisappear,
OnWillShow,
OnWillHide,
OnWillAppear,
OnWillDisappear,
OnBackPress,
}Expand description
Lifecycle states for navigation destinations.
Variants§
Implementations§
pub fn try_from_raw(attr: ArkUI_NavDestinationState) -> Option<Self>
Trait Implementations§
Source§fn clone(&self) -> NavDestinationState
fn clone(&self) -> NavDestinationState
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§fn from(attr: NavDestinationState) -> Self
fn from(attr: NavDestinationState) -> Self
Converts to this type from the input type.
Source§fn from(attr: ArkUI_NavDestinationState) -> Self
fn from(attr: ArkUI_NavDestinationState) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
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