pub struct StyleTabWidth(pub PercentageValue);
Expand description
Represents a tab-width
attribute
Tuple Fields§
§0: PercentageValue
Trait Implementations§
Source§impl Clone for StyleTabWidth
impl Clone for StyleTabWidth
Source§fn clone(&self) -> StyleTabWidth
fn clone(&self) -> StyleTabWidth
Returns a copy 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 Debug for StyleTabWidth
impl Debug for StyleTabWidth
Source§impl Display for StyleTabWidth
impl Display for StyleTabWidth
Source§impl FormatAsCssValue for StyleTabWidth
impl FormatAsCssValue for StyleTabWidth
fn format_as_css_value(&self, f: &mut Formatter<'_>) -> Result
Source§impl From<StyleTabWidth> for CssProperty
impl From<StyleTabWidth> for CssProperty
Source§fn from(e: StyleTabWidth) -> Self
fn from(e: StyleTabWidth) -> Self
Converts to this type from the input type.
Source§impl Hash for StyleTabWidth
impl Hash for StyleTabWidth
Source§impl Ord for StyleTabWidth
impl Ord for StyleTabWidth
Source§fn cmp(&self, other: &StyleTabWidth) -> Ordering
fn cmp(&self, other: &StyleTabWidth) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for StyleTabWidth
impl PartialEq for StyleTabWidth
Source§impl PartialOrd for StyleTabWidth
impl PartialOrd for StyleTabWidth
impl Copy for StyleTabWidth
impl Eq for StyleTabWidth
impl StructuralPartialEq for StyleTabWidth
Auto Trait Implementations§
impl Freeze for StyleTabWidth
impl RefUnwindSafe for StyleTabWidth
impl Send for StyleTabWidth
impl Sync for StyleTabWidth
impl Unpin for StyleTabWidth
impl UnwindSafe for StyleTabWidth
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)