pub struct NodeLayout {
pub location: Point,
pub size: Size,
pub content_size: Size,
pub padding: Edges<f32>,
pub border: Edges<f32>,
}Expand description
Computed layout of a node, relative to its parent’s border box.
Fields§
§location: Point§size: Size§content_size: SizeExtent of the scrollable content, measured from the padding box origin.
padding: Edges<f32>§border: Edges<f32>Trait Implementations§
Source§impl Clone for NodeLayout
impl Clone for NodeLayout
impl Copy for NodeLayout
Source§impl Debug for NodeLayout
impl Debug for NodeLayout
Source§impl Default for NodeLayout
impl Default for NodeLayout
Source§impl PartialEq for NodeLayout
impl PartialEq for NodeLayout
impl StructuralPartialEq for NodeLayout
Auto Trait Implementations§
impl Freeze for NodeLayout
impl RefUnwindSafe for NodeLayout
impl Send for NodeLayout
impl Sync for NodeLayout
impl Unpin for NodeLayout
impl UnsafeUnpin for NodeLayout
impl UnwindSafe for NodeLayout
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