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§
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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.