pub struct Size {
pub main: f32,
pub cross: f32,
}
Expand description
A type which represents the computed size of a node after layout
.
Fields§
§main: f32
The computed size on the main axis.
cross: f32
The computed size on the cross axis.
Trait Implementations§
source§impl PartialEq for Size
impl PartialEq for Size
impl Copy for Size
impl StructuralPartialEq for Size
Auto Trait Implementations§
impl RefUnwindSafe for Size
impl Send for Size
impl Sync for Size
impl Unpin for Size
impl UnwindSafe for Size
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