Struct runestick::format::FormatSpec [−][src]
#[non_exhaustive]pub struct FormatSpec { /* fields omitted */ }
Expand description
A format specification.
Implementations
pub fn new(
flags: Flags,
fill: char,
align: Alignment,
width: Option<NonZeroUsize>,
precision: Option<NonZeroUsize>,
format_type: Type
) -> Self
pub fn new(
flags: Flags,
fill: char,
align: Alignment,
width: Option<NonZeroUsize>,
precision: Option<NonZeroUsize>,
format_type: Type
) -> Self
Construct a new format specification.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for FormatSpec
impl Send for FormatSpec
impl Sync for FormatSpec
impl Unpin for FormatSpec
impl UnwindSafe for FormatSpec
Blanket Implementations
Mutably borrows from an owned value. Read more