pub enum HarmonyWindowMode {
Fullscreen,
Floating,
Maximized,
Minimized,
SplitPrimary,
SplitSecondary,
}Expand description
HarmonyOS Stage-Model window presentation modes spanning Phone fullscreen, Tablet split-screen, and PC freeform desktop windows.
Variants§
Fullscreen
Standard single-surface fullscreen application window (Phone / Watch / TV / Car).
Floating
Freeform resizable desktop window on HarmonyOS PC (2in1) or Tablet desktop mode.
Maximized
Maximized desktop window on HarmonyOS PC (2in1).
Minimized
Minimized desktop window on HarmonyOS PC (2in1).
SplitPrimary
Split-screen primary pane on HarmonyOS Tablet, Foldable, or PC.
SplitSecondary
Split-screen secondary pane on HarmonyOS Tablet, Foldable, or PC.
Trait Implementations§
Source§impl Clone for HarmonyWindowMode
impl Clone for HarmonyWindowMode
impl Copy for HarmonyWindowMode
Source§impl Debug for HarmonyWindowMode
impl Debug for HarmonyWindowMode
Source§impl Default for HarmonyWindowMode
impl Default for HarmonyWindowMode
impl Eq for HarmonyWindowMode
Source§impl Hash for HarmonyWindowMode
impl Hash for HarmonyWindowMode
Source§impl Ord for HarmonyWindowMode
impl Ord for HarmonyWindowMode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for HarmonyWindowMode
impl PartialEq for HarmonyWindowMode
Source§impl PartialOrd for HarmonyWindowMode
impl PartialOrd for HarmonyWindowMode
impl StructuralPartialEq for HarmonyWindowMode
Auto Trait Implementations§
impl Forget for HarmonyWindowMode
impl Freeze for HarmonyWindowMode
impl Move for HarmonyWindowMode
impl RefUnwindSafe for HarmonyWindowMode
impl Send for HarmonyWindowMode
impl Sync for HarmonyWindowMode
impl Unpin for HarmonyWindowMode
impl UnsafeUnpin for HarmonyWindowMode
impl UnwindSafe for HarmonyWindowMode
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