pub struct Layout {
pub body: Rect,
pub next: Rect,
pub position: Vec2i,
pub size: Vec2i,
pub max: Vec2i,
pub widths: [i32; 16],
pub items: usize,
pub item_index: usize,
pub next_row: i32,
pub next_type: LayoutPosition,
pub indent: i32,
}
Fields§
§body: Rect
§next: Rect
§position: Vec2i
§size: Vec2i
§max: Vec2i
§widths: [i32; 16]
§items: usize
§item_index: usize
§next_row: i32
§next_type: LayoutPosition
§indent: i32
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Layout
impl Send for Layout
impl Sync for Layout
impl Unpin for Layout
impl UnwindSafe for Layout
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