pub struct BoxSizing<T>(pub T)
where
T: Clone + Debug + Display + PartialEq + UnitDataType<Self>;Expand description
Tuple Fields§
§0: TImplementations§
Source§impl BoxSizing<BoxSizingValue>
impl BoxSizing<BoxSizingValue>
pub fn initial() -> Self
pub fn inherit() -> Self
pub fn revert() -> Self
pub fn revert_layer() -> Self
pub fn unset() -> Self
pub fn border_box() -> Self
pub fn content_box() -> Self
Trait Implementations§
Source§impl Default for BoxSizing<BoxSizingValue>
impl Default for BoxSizing<BoxSizingValue>
Source§impl<T> Property for BoxSizing<T>
impl<T> Property for BoxSizing<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 BoxSizing<T>
impl<T> PropertyName for BoxSizing<T>
fn property_name<'a>(&self) -> &'a str
impl<T> StructuralPartialEq for BoxSizing<T>
impl UnitDataType<BoxSizing<BoxSizingValue>> for BoxSizingValue
impl UnitDataType<BoxSizing<Nothing>> for Nothing
impl<T> UnitDataType<BoxSizing<Var<T>>> for Var<T>
impl<T> UnitDataTypeContainer<T> for BoxSizing<T>
Auto Trait Implementations§
impl<T> Freeze for BoxSizing<T>where
T: Freeze,
impl<T> RefUnwindSafe for BoxSizing<T>where
T: RefUnwindSafe,
impl<T> Send for BoxSizing<T>where
T: Send,
impl<T> Sync for BoxSizing<T>where
T: Sync,
impl<T> Unpin for BoxSizing<T>where
T: Unpin,
impl<T> UnwindSafe for BoxSizing<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