pub struct LayoutPanel {
pub row: u16,
pub column: u16,
pub width: u16,
}Expand description
Compositor-controlled positioning for a component.
The panel IS the position: components render at (column, row),
using at most width columns. Components never compute their own
centering — the compositor provides the panel.
Fields§
§row: u16§column: u16§width: u16Implementations§
Trait Implementations§
Source§impl Clone for LayoutPanel
impl Clone for LayoutPanel
Source§fn clone(&self) -> LayoutPanel
fn clone(&self) -> LayoutPanel
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 LayoutPanel
impl Debug for LayoutPanel
Source§impl PartialEq for LayoutPanel
impl PartialEq for LayoutPanel
impl Copy for LayoutPanel
impl Eq for LayoutPanel
impl StructuralPartialEq for LayoutPanel
Auto Trait Implementations§
impl Freeze for LayoutPanel
impl RefUnwindSafe for LayoutPanel
impl Send for LayoutPanel
impl Sync for LayoutPanel
impl Unpin for LayoutPanel
impl UnsafeUnpin for LayoutPanel
impl UnwindSafe for LayoutPanel
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