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