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: AreaArea that ocuppies this node
inner_area: AreaArea inside this Node
inner_sizes: Size2DOcuppied sizes from the inner children in this Node
margin: GapsOuter 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