pub struct LayoutOutput {
pub position: Point,
pub size: Size,
pub padding: Edges,
pub border: Edges,
pub margin: Edges,
}Expand description
Layout output for a single node.
Fields§
§position: PointAbsolute position of the border box (x, y).
size: SizeContent box size.
padding: EdgesResolved padding.
border: EdgesResolved border widths.
margin: EdgesResolved margin.
Trait Implementations§
Source§impl Clone for LayoutOutput
impl Clone for LayoutOutput
Source§fn clone(&self) -> LayoutOutput
fn clone(&self) -> LayoutOutput
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 LayoutOutput
impl Debug for LayoutOutput
Source§impl PartialEq for LayoutOutput
impl PartialEq for LayoutOutput
impl Copy for LayoutOutput
impl StructuralPartialEq for LayoutOutput
Auto Trait Implementations§
impl Freeze for LayoutOutput
impl RefUnwindSafe for LayoutOutput
impl Send for LayoutOutput
impl Sync for LayoutOutput
impl Unpin for LayoutOutput
impl UnwindSafe for LayoutOutput
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