pub struct WindowOptions {
pub role: WindowRole,
pub transient_for: Option<WidgetId>,
pub placement: WindowPlacement,
pub decorations: bool,
pub stacking: Stacking,
pub focus: WindowFocusPolicy,
pub dismiss_on_focus_loss: bool,
pub opacity: f32,
pub shape: WindowShape,
pub show_effect: ShowEffect,
pub hide_effect: ShowEffect,
}Expand description
Options applied to a top-level window.
Fields§
§role: WindowRole§transient_for: Option<WidgetId>§placement: WindowPlacement§decorations: bool§stacking: Stacking§focus: WindowFocusPolicy§dismiss_on_focus_loss: bool§opacity: f32§shape: WindowShape§show_effect: ShowEffect§hide_effect: ShowEffectTrait Implementations§
Source§impl Clone for WindowOptions
impl Clone for WindowOptions
impl Copy for WindowOptions
Source§impl Debug for WindowOptions
impl Debug for WindowOptions
Source§impl Default for WindowOptions
impl Default for WindowOptions
Source§impl PartialEq for WindowOptions
impl PartialEq for WindowOptions
impl StructuralPartialEq for WindowOptions
Auto Trait Implementations§
impl Forget for WindowOptions
impl Freeze for WindowOptions
impl Move for WindowOptions
impl RefUnwindSafe for WindowOptions
impl Send for WindowOptions
impl Sync for WindowOptions
impl Unpin for WindowOptions
impl UnsafeUnpin for WindowOptions
impl UnwindSafe for WindowOptions
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