Struct torin::dom_adapter::NodeAreas
source · pub struct NodeAreas {
pub area: Area,
pub inner_area: Area,
pub inner_sizes: Size2D,
pub margin: Gaps,
}
Expand description
Cached layout results of a Node
Fields§
§area: Area
Area that ocuppies this node
inner_area: Area
Area inside this Node
inner_sizes: Size2D
Ocuppied sizes from the inner children in this Node
margin: Gaps
Outer margin
Implementations§
Trait Implementations§
source§impl PartialEq<NodeAreas> for NodeAreas
impl PartialEq<NodeAreas> for NodeAreas
impl StructuralPartialEq for NodeAreas
Auto Trait Implementations§
impl RefUnwindSafe for NodeAreas
impl Send for NodeAreas
impl Sync for NodeAreas
impl Unpin for NodeAreas
impl UnwindSafe for NodeAreas
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