pub struct ChildConstraints {
pub width: ChildAxis,
pub height: ChildAxis,
}Expand description
What a child is given, per axis, by ChildLayout::layout_child.
Fields§
§width: ChildAxisAcross.
height: ChildAxisDown.
Implementations§
Trait Implementations§
Source§impl Clone for ChildConstraints
impl Clone for ChildConstraints
impl Copy for ChildConstraints
Source§impl Debug for ChildConstraints
impl Debug for ChildConstraints
Source§impl PartialEq for ChildConstraints
impl PartialEq for ChildConstraints
impl StructuralPartialEq for ChildConstraints
Auto Trait Implementations§
impl Freeze for ChildConstraints
impl RefUnwindSafe for ChildConstraints
impl Send for ChildConstraints
impl Sync for ChildConstraints
impl Unpin for ChildConstraints
impl UnsafeUnpin for ChildConstraints
impl UnwindSafe for ChildConstraints
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