pub struct WindowFlags { /* private fields */ }Expand description
This module provides a wrapper around the c::ImGuiWindowFlags type.
Implementations§
source§impl WindowFlags
impl WindowFlags
sourcepub fn flags(&self) -> ImGuiWindowFlags
pub fn flags(&self) -> ImGuiWindowFlags
Returns the raw window flags.
sourcepub fn no_title_bar(self, enable: bool) -> Self
pub fn no_title_bar(self, enable: bool) -> Self
Sets the window to be invisible.
sourcepub fn no_scrollbar(self, enable: bool) -> Self
pub fn no_scrollbar(self, enable: bool) -> Self
Sets the window to be invisible.
sourcepub fn no_collapse(self, enable: bool) -> Self
pub fn no_collapse(self, enable: bool) -> Self
Sets the window to be invisible.
Sets the window to be invisible.
sourcepub fn no_background(self, enable: bool) -> Self
pub fn no_background(self, enable: bool) -> Self
Sets the window to be invisible.
sourcepub fn no_bring_to_front_on_focus(self, enable: bool) -> Self
pub fn no_bring_to_front_on_focus(self, enable: bool) -> Self
Sets the window to be invisible.
sourcepub fn show_window_close(self, enable: bool) -> Self
pub fn show_window_close(self, enable: bool) -> Self
Whether to show the window close button (default: false)
Trait Implementations§
source§impl Clone for WindowFlags
impl Clone for WindowFlags
source§fn clone(&self) -> WindowFlags
fn clone(&self) -> WindowFlags
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 moresource§impl Debug for WindowFlags
impl Debug for WindowFlags
source§impl Default for WindowFlags
impl Default for WindowFlags
source§fn default() -> WindowFlags
fn default() -> WindowFlags
Returns the “default value” for a type. Read more
impl Copy for WindowFlags
Auto Trait Implementations§
impl Freeze for WindowFlags
impl RefUnwindSafe for WindowFlags
impl Send for WindowFlags
impl Sync for WindowFlags
impl Unpin for WindowFlags
impl UnwindSafe for WindowFlags
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)