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