pub struct FloatingConfig {
pub title: String,
pub width: u32,
pub height: u32,
pub min_size: (u32, u32),
pub max_size: (u32, u32),
pub maximized: bool,
pub fullscreen: bool,
pub shown: bool,
}Expand description
What the platform needs to show a floating window.
Fields§
§title: StringThe title.
width: u32The size asked for, in logical pixels.
height: u32The size asked for, in logical pixels.
min_size: (u32, u32)The smallest size; 0 leaves a side free.
max_size: (u32, u32)The largest size; 0 leaves a side free.
maximized: boolWhether it asks to be maximized.
fullscreen: boolWhether it asks to be fullscreen.
shown: boolWhether it should have a surface: visible, and not closed since.
Trait Implementations§
Source§impl Clone for FloatingConfig
impl Clone for FloatingConfig
Source§impl Debug for FloatingConfig
impl Debug for FloatingConfig
impl Eq for FloatingConfig
Source§impl PartialEq for FloatingConfig
impl PartialEq for FloatingConfig
impl StructuralPartialEq for FloatingConfig
Auto Trait Implementations§
impl Forget for FloatingConfig
impl Freeze for FloatingConfig
impl Move for FloatingConfig
impl RefUnwindSafe for FloatingConfig
impl Send for FloatingConfig
impl Sync for FloatingConfig
impl Unpin for FloatingConfig
impl UnsafeUnpin for FloatingConfig
impl UnwindSafe for FloatingConfig
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