#[repr(transparent)]pub struct MaxHeight(pub Length);Expand description
Keyless style! property wrapper setting maximum layout height constraint.
Tuple Fields§
§0: LengthTrait Implementations§
impl Copy for MaxHeight
impl StructuralPartialEq for MaxHeight
Source§impl StyleApply for MaxHeight
StyleApply implementation for MaxHeight.
impl StyleApply for MaxHeight
StyleApply implementation for MaxHeight.
Source§fn apply_in_place(self, style: &mut Style)
fn apply_in_place(self, style: &mut Style)
Applies MaxHeight directly in place onto style.
§Arguments
Self- Maximum height wrapper.&mut Style- Style accumulator mutated in place.
Auto Trait Implementations§
impl Forget for MaxHeight
impl Freeze for MaxHeight
impl Move for MaxHeight
impl RefUnwindSafe for MaxHeight
impl Send for MaxHeight
impl Sync for MaxHeight
impl Unpin for MaxHeight
impl UnsafeUnpin for MaxHeight
impl UnwindSafe for MaxHeight
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