pub struct DockBuilder { /* private fields */ }Implementations§
Source§impl DockBuilder
impl DockBuilder
pub fn set_node_size(&self, node_id: ImGuiID, size: Vector2)
pub fn set_node_pos(&self, node_id: ImGuiID, pos: Vector2)
pub fn split_node( &self, node_id: ImGuiID, dir: Dir, size_ratio: f32, ) -> (ImGuiID, ImGuiID)
pub fn dock_window(&self, window_name: Id<impl IntoCStr>, node_id: ImGuiID)
pub fn get_node(&self, node_id: ImGuiID) -> Option<&DockNode>
pub fn get_node_mut(&mut self, node_id: ImGuiID) -> Option<&mut DockNode>
Auto Trait Implementations§
impl Freeze for DockBuilder
impl RefUnwindSafe for DockBuilder
impl Send for DockBuilder
impl Sync for DockBuilder
impl Unpin for DockBuilder
impl UnsafeUnpin for DockBuilder
impl UnwindSafe for DockBuilder
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> 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