pub enum InterpolationFormatSpec {
Fixed {
precision: u8,
},
Table(TableFormatSpec),
ContentStyle(ContentFormatSpec),
}Expand description
Typed format specification for interpolation expressions.
Variants§
Fixed
Fixed-point numeric precision (fixed(2)).
Table(TableFormatSpec)
Tabular formatting for DataTable-like values (table(...)).
ContentStyle(ContentFormatSpec)
Content-string styling specification.
Trait Implementations§
Source§impl Clone for InterpolationFormatSpec
impl Clone for InterpolationFormatSpec
Source§fn clone(&self) -> InterpolationFormatSpec
fn clone(&self) -> InterpolationFormatSpec
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 Debug for InterpolationFormatSpec
impl Debug for InterpolationFormatSpec
Source§impl PartialEq for InterpolationFormatSpec
impl PartialEq for InterpolationFormatSpec
impl Eq for InterpolationFormatSpec
impl StructuralPartialEq for InterpolationFormatSpec
Auto Trait Implementations§
impl Freeze for InterpolationFormatSpec
impl RefUnwindSafe for InterpolationFormatSpec
impl Send for InterpolationFormatSpec
impl Sync for InterpolationFormatSpec
impl Unpin for InterpolationFormatSpec
impl UnsafeUnpin for InterpolationFormatSpec
impl UnwindSafe for InterpolationFormatSpec
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