Struct fui_app::WindowOptions
source · pub struct WindowOptions {
pub title: String,
pub icon: Vec<u8>,
pub width: i32,
pub height: i32,
pub stay_on_top: bool,
pub transparent_for_input: bool,
pub translucent_background: bool,
pub frame_type: WindowFrameType,
pub visible: bool,
}
Fields§
§title: String
§icon: Vec<u8>
§width: i32
§height: i32
§stay_on_top: bool
§transparent_for_input: bool
§translucent_background: bool
§frame_type: WindowFrameType
§visible: bool
Implementations§
source§impl WindowOptions
impl WindowOptions
pub fn new() -> Self
pub fn with_title(self, title: &str) -> Self
pub fn with_icon(self, icon: Vec<u8>) -> Self
pub fn with_size(self, width: i32, height: i32) -> Self
pub fn with_stay_on_top(self, stay_on_top: bool) -> Self
pub fn with_transparent_for_input(self, transparent_for_input: bool) -> Self
pub fn with_translucent_background(self, translucent_background: bool) -> Self
pub fn with_frame_type(self, frame_type: WindowFrameType) -> Self
pub fn with_visibility(self, visible: bool) -> Self
Trait Implementations§
source§impl Clone for WindowOptions
impl Clone for WindowOptions
source§fn clone(&self) -> WindowOptions
fn clone(&self) -> WindowOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more