pub struct WrappedHold {
pub size: Size,
pub hold: Option<ConstraintsHold>,
}Expand description
What the content a layout modifier wraps measured: its size and the
constraints that measure holds for, None when only the constraints it
had.
Fields§
§size: Size§hold: Option<ConstraintsHold>Trait Implementations§
Source§impl Clone for WrappedHold
impl Clone for WrappedHold
impl Copy for WrappedHold
Source§impl Debug for WrappedHold
impl Debug for WrappedHold
Source§impl PartialEq for WrappedHold
impl PartialEq for WrappedHold
impl StructuralPartialEq for WrappedHold
Auto Trait Implementations§
impl Freeze for WrappedHold
impl RefUnwindSafe for WrappedHold
impl Send for WrappedHold
impl Sync for WrappedHold
impl Unpin for WrappedHold
impl UnsafeUnpin for WrappedHold
impl UnwindSafe for WrappedHold
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