pub struct WindowClass(/* private fields */);Implementations§
Source§impl WindowClass
impl WindowClass
Sourcepub fn get(&self) -> &ImGuiWindowClass
pub fn get(&self) -> &ImGuiWindowClass
Gets a reference to the native wrapper struct.
Source§impl WindowClass
impl WindowClass
pub fn get_mut(&mut self) -> &mut ImGuiWindowClass
Source§impl WindowClass
impl WindowClass
Sourcepub fn cast(r: &ImGuiWindowClass) -> &WindowClass
pub fn cast(r: &ImGuiWindowClass) -> &WindowClass
Converts a native reference into a wrapper reference.
Sourcepub fn cast_mut(r: &mut ImGuiWindowClass) -> &mut WindowClass
pub fn cast_mut(r: &mut ImGuiWindowClass) -> &mut WindowClass
Converts a native reference into a wrapper reference.
It is safe because if you have a reference to the native reference, you already can change anything.
Source§impl WindowClass
impl WindowClass
pub fn new() -> Self
pub fn class_id(self, id: ImGuiID) -> Self
pub fn parent_viewport_id(self, id: Option<ImGuiID>) -> Self
pub fn focus_route_parent_window_id(self, id: ImGuiID) -> Self
pub fn dock_node_flags(self, set_flags: DockNodeFlags) -> Self
pub fn tab_item_flags(self, set_flags: TabItemFlags) -> Self
pub fn viewport_flags( self, set_flags: ViewportFlags, clear_flags: ViewportFlags, ) -> Self
pub fn docking_always_tab_bar(self, value: bool) -> Self
pub fn docking_allow_unclassed(self, value: bool) -> Self
Trait Implementations§
Source§impl Clone for WindowClass
impl Clone for WindowClass
Source§fn clone(&self) -> WindowClass
fn clone(&self) -> WindowClass
Returns a duplicate 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 WindowClass
impl Debug for WindowClass
Source§impl Default for WindowClass
impl Default for WindowClass
Source§impl Deref for WindowClass
impl Deref for WindowClass
Source§impl DerefMut for WindowClass
impl DerefMut for WindowClass
Source§fn deref_mut(&mut self) -> &mut ImGuiWindowClass
fn deref_mut(&mut self) -> &mut ImGuiWindowClass
Mutably dereferences the value.
impl Copy for WindowClass
Auto Trait Implementations§
impl Freeze for WindowClass
impl RefUnwindSafe for WindowClass
impl Send for WindowClass
impl Sync for WindowClass
impl Unpin for WindowClass
impl UnwindSafe for WindowClass
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more