pub struct FormatString(/* private fields */);
Implementations§
Source§impl FormatString
impl FormatString
pub fn parse(fmt_str: &str) -> Result<FormatString, ()>
pub fn items(&self) -> &[FormatStringItem]
pub fn each_argument<F>(&self, f: F)
Trait Implementations§
Source§impl Clone for FormatString
impl Clone for FormatString
Source§fn clone(&self) -> FormatString
fn clone(&self) -> FormatString
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 FormatString
impl Debug for FormatString
Auto Trait Implementations§
impl Freeze for FormatString
impl RefUnwindSafe for FormatString
impl Send for FormatString
impl Sync for FormatString
impl Unpin for FormatString
impl UnwindSafe for FormatString
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