Struct gpui2::WindowOptions
source · pub struct WindowOptions {
pub bounds: WindowBounds,
pub titlebar: Option<TitlebarOptions>,
pub center: bool,
pub focus: bool,
pub show: bool,
pub kind: WindowKind,
pub is_movable: bool,
pub display_id: Option<DisplayId>,
}
Fields§
§bounds: WindowBounds
§titlebar: Option<TitlebarOptions>
§center: bool
§focus: bool
§show: bool
§kind: WindowKind
§is_movable: bool
§display_id: Option<DisplayId>
Trait Implementations§
source§impl Debug for WindowOptions
impl Debug for WindowOptions
Auto Trait Implementations§
impl RefUnwindSafe for WindowOptions
impl Send for WindowOptions
impl Sync for WindowOptions
impl Unpin 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