pub struct InsetBlock<T>(pub T)
where
T: Clone + Debug + Display + PartialEq + UnitDataType<Self>;Expand description
Tuple Fields§
§0: TImplementations§
Trait Implementations§
Source§impl AbsoluteLengthStorage for InsetBlock<InsetBlockValue>
impl AbsoluteLengthStorage for InsetBlock<InsetBlockValue>
fn absolute_length(value: AbsoluteLength) -> Selfwhere
Self: Sized,
Source§impl CapHeightStorage for InsetBlock<InsetBlockValue>
impl CapHeightStorage for InsetBlock<InsetBlockValue>
Source§impl CharSizeStorage for InsetBlock<InsetBlockValue>
impl CharSizeStorage for InsetBlock<InsetBlockValue>
Source§impl<T> Clone for InsetBlock<T>
impl<T> Clone for InsetBlock<T>
Source§fn clone(&self) -> InsetBlock<T>
fn clone(&self) -> InsetBlock<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ContainerLengthStorage for InsetBlock<InsetBlockValue>
impl ContainerLengthStorage for InsetBlock<InsetBlockValue>
fn container_length(value: ContainerLength) -> Selfwhere
Self: Sized,
Source§impl<T> Debug for InsetBlock<T>
impl<T> Debug for InsetBlock<T>
Source§impl Default for InsetBlock<InsetBlockValue>
impl Default for InsetBlock<InsetBlockValue>
Source§impl<T> Display for InsetBlock<T>
impl<T> Display for InsetBlock<T>
Source§impl EmStorage for InsetBlock<InsetBlockValue>
impl EmStorage for InsetBlock<InsetBlockValue>
Source§impl ExStorage for InsetBlock<InsetBlockValue>
impl ExStorage for InsetBlock<InsetBlockValue>
Source§impl FontLengthStorage for InsetBlock<InsetBlockValue>
impl FontLengthStorage for InsetBlock<InsetBlockValue>
fn font_length(value: FontLength) -> Selfwhere
Self: Sized,
Source§impl<T> From<T> for InsetBlock<InsetBlockValue>where
T: Into<LengthPercentage>,
impl<T> From<T> for InsetBlock<InsetBlockValue>where
T: Into<LengthPercentage>,
Source§impl<T> From<T> for InsetBlock<T>
impl<T> From<T> for InsetBlock<T>
Source§impl IcStorage for InsetBlock<InsetBlockValue>
impl IcStorage for InsetBlock<InsetBlockValue>
Source§impl InchStorage for InsetBlock<InsetBlockValue>
impl InchStorage for InsetBlock<InsetBlockValue>
Source§impl LengthPercentageStorage for InsetBlock<InsetBlockValue>
impl LengthPercentageStorage for InsetBlock<InsetBlockValue>
fn length_percentage(value: LengthPercentage) -> Selfwhere
Self: Sized,
Source§impl LengthStorage for InsetBlock<InsetBlockValue>
impl LengthStorage for InsetBlock<InsetBlockValue>
Source§impl<T> PartialEq for InsetBlock<T>
impl<T> PartialEq for InsetBlock<T>
Source§impl PicaStorage for InsetBlock<InsetBlockValue>
impl PicaStorage for InsetBlock<InsetBlockValue>
Source§impl PixelStorage for InsetBlock<InsetBlockValue>
impl PixelStorage for InsetBlock<InsetBlockValue>
Source§impl PointStorage for InsetBlock<InsetBlockValue>
impl PointStorage for InsetBlock<InsetBlockValue>
Source§impl<T> Property for InsetBlock<T>
impl<T> Property for InsetBlock<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 InsetBlock<T>
impl<T> PropertyName for InsetBlock<T>
fn property_name<'a>(&self) -> &'a str
Source§impl RelativeLengthStorage for InsetBlock<InsetBlockValue>
impl RelativeLengthStorage for InsetBlock<InsetBlockValue>
fn relative_length(value: RelativeLength) -> Selfwhere
Self: Sized,
Source§impl ViewportLengthStorage for InsetBlock<InsetBlockValue>
impl ViewportLengthStorage for InsetBlock<InsetBlockValue>
fn viewport_length(value: ViewportLength) -> Selfwhere
Self: Sized,
impl<T> StructuralPartialEq for InsetBlock<T>
impl UnitDataType<InsetBlock<InsetBlockValue>> for InsetBlockValue
impl UnitDataType<InsetBlock<Nothing>> for Nothing
impl<T> UnitDataType<InsetBlock<Var<T>>> for Var<T>
impl<T> UnitDataTypeContainer<T> for InsetBlock<T>
Auto Trait Implementations§
impl<T> Freeze for InsetBlock<T>where
T: Freeze,
impl<T> RefUnwindSafe for InsetBlock<T>where
T: RefUnwindSafe,
impl<T> Send for InsetBlock<T>where
T: Send,
impl<T> Sync for InsetBlock<T>where
T: Sync,
impl<T> Unpin for InsetBlock<T>where
T: Unpin,
impl<T> UnwindSafe for InsetBlock<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