pub enum WindowRole {
Standard,
Settings,
Dialog,
}Variants§
Standard
Settings
Application preferences window.
Dialog
A modal window over the primary window, such as a first-run flow: a sheet where the platform has them.
Trait Implementations§
Source§impl Clone for WindowRole
impl Clone for WindowRole
impl Copy for WindowRole
Source§impl Debug for WindowRole
impl Debug for WindowRole
Source§impl<'de> Deserialize<'de> for WindowRole
impl<'de> Deserialize<'de> for WindowRole
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 WindowRole
Source§impl PartialEq for WindowRole
impl PartialEq for WindowRole
Source§impl Serialize for WindowRole
impl Serialize for WindowRole
impl StructuralPartialEq for WindowRole
Auto Trait Implementations§
impl Freeze for WindowRole
impl RefUnwindSafe for WindowRole
impl Send for WindowRole
impl Sync for WindowRole
impl Unpin for WindowRole
impl UnsafeUnpin for WindowRole
impl UnwindSafe for WindowRole
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