Struct datetime::fmt::Arguments
[−]
[src]
pub struct Arguments { pub alignment: Option<Alignment>, pub width: Option<Width>, pub pad_char: Option<char>, }
Fields
alignment: Option<Alignment>
width: Option<Width>
pad_char: Option<char>
Methods
impl Arguments
[src]
fn empty() -> Arguments
[src]
fn set_width(&mut self, width: Width) -> Arguments
[src]
fn set_alignment(&mut self, alignment: Alignment) -> Arguments
[src]
fn update_width(
&mut self,
width: Width,
open_pos: Pos
) -> Result<(), FormatError>
[src]
&mut self,
width: Width,
open_pos: Pos
) -> Result<(), FormatError>
fn update_alignment(
&mut self,
alignment: Alignment,
open_pos: Pos
) -> Result<(), FormatError>
[src]
&mut self,
alignment: Alignment,
open_pos: Pos
) -> Result<(), FormatError>
fn is_empty(&self) -> bool
[src]
Trait Implementations
impl PartialEq for Arguments
[src]
fn eq(&self, __arg_0: &Arguments) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Arguments) -> bool
[src]
This method tests for !=
.
impl Eq for Arguments
[src]
impl Clone for Arguments
[src]
fn clone(&self) -> Arguments
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more