pub struct DockPanel<'a> {
pub id: u32,
pub title: &'a str,
pub icon: u32,
pub flags: u32,
pub side: u8,
pub group: u8,
}Expand description
a panel as the app describes it to dock_begin every frame
Fields§
§id: u32!= 0 and stable (the saved layout refers to it)
title: &'a str§icon: u32IC_* of its tab and of the rail of a collapsed side (0 = none)
flags: u32DP_*
side: u8where it goes the first time: DOCK_LEFT / DOCK_RIGHT / DOCK_BOTTOM / DOCK_FLOAT
group: u8panels of one side with the same group number start as tabs of one group; the groups in the order of their numbers
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for DockPanel<'a>
impl<'a> Freeze for DockPanel<'a>
impl<'a> RefUnwindSafe for DockPanel<'a>
impl<'a> Send for DockPanel<'a>
impl<'a> Sync for DockPanel<'a>
impl<'a> Unpin for DockPanel<'a>
impl<'a> UnsafeUnpin for DockPanel<'a>
impl<'a> UnwindSafe for DockPanel<'a>
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