pub struct NodeAreas {
pub area: Rect<f32, Measure>,
pub inner_area: Rect<f32, Measure>,
pub inner_sizes: Size2D<f32, Measure>,
pub margin: Gaps,
}
Expand description
Cached layout results of a Node
Fields§
§area: Rect<f32, Measure>
Area that ocuppies this node
inner_area: Rect<f32, Measure>
Area inside this Node
inner_sizes: Size2D<f32, Measure>
Ocuppied sizes from the inner children in this Node
margin: Gaps
Outer margin
Implementations§
Trait Implementations§
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.