pub struct MaxHeight<T>(pub T)
where
T: Clone + Debug + Display + PartialEq + UnitDataType<Self>;Expand description
Tuple Fields§
§0: TImplementations§
Source§impl MaxHeight<MaxHeightValue>
impl MaxHeight<MaxHeightValue>
pub fn initial() -> Self
pub fn inherit() -> Self
pub fn revert() -> Self
pub fn revert_layer() -> Self
pub fn unset() -> Self
pub fn auto() -> Self
pub fn fit_content() -> Self
pub fn max_content() -> Self
pub fn min_content() -> Self
Trait Implementations§
Source§impl AbsoluteLengthStorage for MaxHeight<MaxHeightValue>
impl AbsoluteLengthStorage for MaxHeight<MaxHeightValue>
fn absolute_length(value: AbsoluteLength) -> Selfwhere
Self: Sized,
Source§impl CapHeightStorage for MaxHeight<MaxHeightValue>
impl CapHeightStorage for MaxHeight<MaxHeightValue>
Source§impl CentimeterStorage for MaxHeight<MaxHeightValue>
impl CentimeterStorage for MaxHeight<MaxHeightValue>
Source§impl CharSizeStorage for MaxHeight<MaxHeightValue>
impl CharSizeStorage for MaxHeight<MaxHeightValue>
Source§impl ContainerLengthStorage for MaxHeight<MaxHeightValue>
impl ContainerLengthStorage for MaxHeight<MaxHeightValue>
fn container_length(value: ContainerLength) -> Selfwhere
Self: Sized,
Source§impl Default for MaxHeight<MaxHeightValue>
impl Default for MaxHeight<MaxHeightValue>
Source§impl EmStorage for MaxHeight<MaxHeightValue>
impl EmStorage for MaxHeight<MaxHeightValue>
Source§impl ExStorage for MaxHeight<MaxHeightValue>
impl ExStorage for MaxHeight<MaxHeightValue>
Source§impl FontLengthStorage for MaxHeight<MaxHeightValue>
impl FontLengthStorage for MaxHeight<MaxHeightValue>
fn font_length(value: FontLength) -> Selfwhere
Self: Sized,
Source§impl<T> From<T> for MaxHeight<MaxHeightValue>where
T: Into<LengthPercentage>,
impl<T> From<T> for MaxHeight<MaxHeightValue>where
T: Into<LengthPercentage>,
Source§impl IcStorage for MaxHeight<MaxHeightValue>
impl IcStorage for MaxHeight<MaxHeightValue>
Source§impl InchStorage for MaxHeight<MaxHeightValue>
impl InchStorage for MaxHeight<MaxHeightValue>
Source§impl LengthPercentageStorage for MaxHeight<MaxHeightValue>
impl LengthPercentageStorage for MaxHeight<MaxHeightValue>
fn length_percentage(value: LengthPercentage) -> Selfwhere
Self: Sized,
Source§impl LengthStorage for MaxHeight<MaxHeightValue>
impl LengthStorage for MaxHeight<MaxHeightValue>
Source§impl LineHeightStorage for MaxHeight<MaxHeightValue>
impl LineHeightStorage for MaxHeight<MaxHeightValue>
Source§impl MillimeterStorage for MaxHeight<MaxHeightValue>
impl MillimeterStorage for MaxHeight<MaxHeightValue>
Source§impl PercentageStorage for MaxHeight<MaxHeightValue>
impl PercentageStorage for MaxHeight<MaxHeightValue>
Source§impl PicaStorage for MaxHeight<MaxHeightValue>
impl PicaStorage for MaxHeight<MaxHeightValue>
Source§impl PixelStorage for MaxHeight<MaxHeightValue>
impl PixelStorage for MaxHeight<MaxHeightValue>
Source§impl PointStorage for MaxHeight<MaxHeightValue>
impl PointStorage for MaxHeight<MaxHeightValue>
Source§impl<T> Property for MaxHeight<T>
impl<T> Property for MaxHeight<T>
Source§fn declaration(&self) -> String
fn declaration(&self) -> String
Returns the stringified property name with its value
as a CSS declaration to be used within a declaration block. Read more
Source§impl<T> PropertyName for MaxHeight<T>
impl<T> PropertyName for MaxHeight<T>
fn property_name<'a>(&self) -> &'a str
Source§impl RelativeEmStorage for MaxHeight<MaxHeightValue>
impl RelativeEmStorage for MaxHeight<MaxHeightValue>
Source§impl RelativeExStorage for MaxHeight<MaxHeightValue>
impl RelativeExStorage for MaxHeight<MaxHeightValue>
Source§impl RelativeIcStorage for MaxHeight<MaxHeightValue>
impl RelativeIcStorage for MaxHeight<MaxHeightValue>
Source§impl RelativeLengthStorage for MaxHeight<MaxHeightValue>
impl RelativeLengthStorage for MaxHeight<MaxHeightValue>
fn relative_length(value: RelativeLength) -> Selfwhere
Self: Sized,
Source§impl ViewportLengthStorage for MaxHeight<MaxHeightValue>
impl ViewportLengthStorage for MaxHeight<MaxHeightValue>
fn viewport_length(value: ViewportLength) -> Selfwhere
Self: Sized,
Source§impl ViewportMaxStorage for MaxHeight<MaxHeightValue>
impl ViewportMaxStorage for MaxHeight<MaxHeightValue>
Source§impl ViewportMinStorage for MaxHeight<MaxHeightValue>
impl ViewportMinStorage for MaxHeight<MaxHeightValue>
impl<T> StructuralPartialEq for MaxHeight<T>
impl UnitDataType<MaxHeight<MaxHeightValue>> for MaxHeightValue
impl UnitDataType<MaxHeight<Nothing>> for Nothing
impl<T> UnitDataType<MaxHeight<Var<T>>> for Var<T>
impl<T> UnitDataTypeContainer<T> for MaxHeight<T>
Auto Trait Implementations§
impl<T> Freeze for MaxHeight<T>where
T: Freeze,
impl<T> RefUnwindSafe for MaxHeight<T>where
T: RefUnwindSafe,
impl<T> Send for MaxHeight<T>where
T: Send,
impl<T> Sync for MaxHeight<T>where
T: Sync,
impl<T> Unpin for MaxHeight<T>where
T: Unpin,
impl<T> UnwindSafe for MaxHeight<T>where
T: UnwindSafe,
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