pub enum WindowKind {
Normal,
Overlay,
Wallpaper,
}Expand description
Window layer/kind for native mode.
Extends Tauri v2’s model with a Wallpaper layer (desktop-level,
click-through) and an Overlay layer (always-on-top HUD), enabling
Wallpaper-Engine-style and HUD/PIP scenarios.
Variants§
Normal
Standard application window (default)
Overlay
Always-on-top overlay (HUD / PIP / floating toolbar)
Wallpaper
Desktop wallpaper layer: sits behind icons, clicks pass through.
Implies click_through = true.
Trait Implementations§
Source§impl Clone for WindowKind
impl Clone for WindowKind
Source§fn clone(&self) -> WindowKind
fn clone(&self) -> WindowKind
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 WindowKind
Source§impl Debug for WindowKind
impl Debug for WindowKind
Source§impl Default for WindowKind
impl Default for WindowKind
Source§impl<'de> Deserialize<'de> for WindowKind
impl<'de> Deserialize<'de> for WindowKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WindowKind
Source§impl PartialEq for WindowKind
impl PartialEq for WindowKind
Source§impl Serialize for WindowKind
impl Serialize for WindowKind
impl StructuralPartialEq for WindowKind
Auto Trait Implementations§
impl Freeze for WindowKind
impl RefUnwindSafe for WindowKind
impl Send for WindowKind
impl Sync for WindowKind
impl Unpin for WindowKind
impl UnsafeUnpin for WindowKind
impl UnwindSafe for WindowKind
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