pub struct PanelPlacement {
pub panel: String,
pub rect: Rect,
pub tabs: Vec<(String, Rect)>,
}Expand description
Wo ein Panel landet: Inhalts-Rechteck, plus Tab-Rechtecke wenn es in einer Tab-Gruppe lebt (nur für das aktive Panel gefüllt).
Fields§
§panel: String§rect: Rect§tabs: Vec<(String, Rect)>Trait Implementations§
Source§impl Clone for PanelPlacement
impl Clone for PanelPlacement
Source§fn clone(&self) -> PanelPlacement
fn clone(&self) -> PanelPlacement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PanelPlacement
impl Debug for PanelPlacement
Source§impl PartialEq for PanelPlacement
impl PartialEq for PanelPlacement
Source§fn eq(&self, other: &PanelPlacement) -> bool
fn eq(&self, other: &PanelPlacement) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PanelPlacement
Auto Trait Implementations§
impl Freeze for PanelPlacement
impl RefUnwindSafe for PanelPlacement
impl Send for PanelPlacement
impl Sync for PanelPlacement
impl Unpin for PanelPlacement
impl UnsafeUnpin for PanelPlacement
impl UnwindSafe for PanelPlacement
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