pub enum Presentation {
Auto,
Virtual,
Floating,
NativeRequired,
}Variants§
Auto
Native where the target has system windows, otherwise the host’s virtual presentation (on the web: the page, or a dialog).
Virtual
The host’s in-app presentation, even where native windows exist.
Floating
A draggable, resizable window: a native window, or a floating panel inside the page.
NativeRequired
Trait Implementations§
Source§impl Clone for Presentation
impl Clone for Presentation
impl Copy for Presentation
Source§impl Debug for Presentation
impl Debug for Presentation
Source§impl<'de> Deserialize<'de> for Presentation
impl<'de> Deserialize<'de> for Presentation
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 Presentation
Source§impl PartialEq for Presentation
impl PartialEq for Presentation
Source§impl Serialize for Presentation
impl Serialize for Presentation
impl StructuralPartialEq for Presentation
Auto Trait Implementations§
impl Freeze for Presentation
impl RefUnwindSafe for Presentation
impl Send for Presentation
impl Sync for Presentation
impl Unpin for Presentation
impl UnsafeUnpin for Presentation
impl UnwindSafe for Presentation
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