pub struct Height<T>(pub T)
where
T: Clone + Debug + Display + PartialEq + UnitDataType<Self>;Expand description
Tuple Fields§
§0: TImplementations§
Source§impl Height<HeightValue>
impl Height<HeightValue>
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 Height<HeightValue>
impl AbsoluteLengthStorage for Height<HeightValue>
fn absolute_length(value: AbsoluteLength) -> Selfwhere
Self: Sized,
Source§impl CapHeightStorage for Height<HeightValue>
impl CapHeightStorage for Height<HeightValue>
Source§impl CentimeterStorage for Height<HeightValue>
impl CentimeterStorage for Height<HeightValue>
Source§impl CharSizeStorage for Height<HeightValue>
impl CharSizeStorage for Height<HeightValue>
Source§impl ContainerLengthStorage for Height<HeightValue>
impl ContainerLengthStorage for Height<HeightValue>
fn container_length(value: ContainerLength) -> Selfwhere
Self: Sized,
Source§impl ContainerQueryMaxStorage for Height<HeightValue>
impl ContainerQueryMaxStorage for Height<HeightValue>
Source§impl ContainerQueryMinStorage for Height<HeightValue>
impl ContainerQueryMinStorage for Height<HeightValue>
Source§impl Default for Height<HeightValue>
impl Default for Height<HeightValue>
Source§impl EmStorage for Height<HeightValue>
impl EmStorage for Height<HeightValue>
Source§impl ExStorage for Height<HeightValue>
impl ExStorage for Height<HeightValue>
Source§impl FontLengthStorage for Height<HeightValue>
impl FontLengthStorage for Height<HeightValue>
fn font_length(value: FontLength) -> Selfwhere
Self: Sized,
Source§impl<T> From<T> for Height<HeightValue>where
T: Into<LengthPercentage>,
impl<T> From<T> for Height<HeightValue>where
T: Into<LengthPercentage>,
Source§impl IcStorage for Height<HeightValue>
impl IcStorage for Height<HeightValue>
Source§impl InchStorage for Height<HeightValue>
impl InchStorage for Height<HeightValue>
Source§impl LargeViewportMaxStorage for Height<HeightValue>
impl LargeViewportMaxStorage for Height<HeightValue>
Source§impl LargeViewportMinStorage for Height<HeightValue>
impl LargeViewportMinStorage for Height<HeightValue>
Source§impl LengthPercentageStorage for Height<HeightValue>
impl LengthPercentageStorage for Height<HeightValue>
fn length_percentage(value: LengthPercentage) -> Selfwhere
Self: Sized,
Source§impl LengthStorage for Height<HeightValue>
impl LengthStorage for Height<HeightValue>
Source§impl LineHeightStorage for Height<HeightValue>
impl LineHeightStorage for Height<HeightValue>
Source§impl MillimeterStorage for Height<HeightValue>
impl MillimeterStorage for Height<HeightValue>
Source§impl PercentageStorage for Height<HeightValue>
impl PercentageStorage for Height<HeightValue>
Source§impl PicaStorage for Height<HeightValue>
impl PicaStorage for Height<HeightValue>
Source§impl PixelStorage for Height<HeightValue>
impl PixelStorage for Height<HeightValue>
Source§impl PointStorage for Height<HeightValue>
impl PointStorage for Height<HeightValue>
Source§impl<T> Property for Height<T>
impl<T> Property for Height<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 Height<T>
impl<T> PropertyName for Height<T>
fn property_name<'a>(&self) -> &'a str
Source§impl RelativeCapHeightStorage for Height<HeightValue>
impl RelativeCapHeightStorage for Height<HeightValue>
Source§impl RelativeCharSizeStorage for Height<HeightValue>
impl RelativeCharSizeStorage for Height<HeightValue>
Source§impl RelativeEmStorage for Height<HeightValue>
impl RelativeEmStorage for Height<HeightValue>
Source§impl RelativeExStorage for Height<HeightValue>
impl RelativeExStorage for Height<HeightValue>
Source§impl RelativeIcStorage for Height<HeightValue>
impl RelativeIcStorage for Height<HeightValue>
Source§impl RelativeLengthStorage for Height<HeightValue>
impl RelativeLengthStorage for Height<HeightValue>
fn relative_length(value: RelativeLength) -> Selfwhere
Self: Sized,
Source§impl SmallViewportMaxStorage for Height<HeightValue>
impl SmallViewportMaxStorage for Height<HeightValue>
Source§impl SmallViewportMinStorage for Height<HeightValue>
impl SmallViewportMinStorage for Height<HeightValue>
Source§impl ViewportBlockStorage for Height<HeightValue>
impl ViewportBlockStorage for Height<HeightValue>
Source§impl ViewportHeightStorage for Height<HeightValue>
impl ViewportHeightStorage for Height<HeightValue>
Source§impl ViewportInlineStorage for Height<HeightValue>
impl ViewportInlineStorage for Height<HeightValue>
Source§impl ViewportLengthStorage for Height<HeightValue>
impl ViewportLengthStorage for Height<HeightValue>
fn viewport_length(value: ViewportLength) -> Selfwhere
Self: Sized,
Source§impl ViewportMaxStorage for Height<HeightValue>
impl ViewportMaxStorage for Height<HeightValue>
Source§impl ViewportMinStorage for Height<HeightValue>
impl ViewportMinStorage for Height<HeightValue>
Source§impl ViewportWidthStorage for Height<HeightValue>
impl ViewportWidthStorage for Height<HeightValue>
impl<T> StructuralPartialEq for Height<T>
impl UnitDataType<Height<HeightValue>> for HeightValue
impl UnitDataType<Height<Nothing>> for Nothing
impl<T> UnitDataType<Height<Var<T>>> for Var<T>
impl<T> UnitDataTypeContainer<T> for Height<T>
Auto Trait Implementations§
impl<T> Freeze for Height<T>where
T: Freeze,
impl<T> RefUnwindSafe for Height<T>where
T: RefUnwindSafe,
impl<T> Send for Height<T>where
T: Send,
impl<T> Sync for Height<T>where
T: Sync,
impl<T> Unpin for Height<T>where
T: Unpin,
impl<T> UnwindSafe for Height<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