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