pub enum FormatArgs {
List(Vec<Expression>),
Single(Box<Expression>),
}
Expand description
Encodes one of two possible forms for format expression arguments.
Variants§
List(Vec<Expression>)
Single(Box<Expression>)
Trait Implementations§
Source§impl Clone for FormatArgs
impl Clone for FormatArgs
Source§fn clone(&self) -> FormatArgs
fn clone(&self) -> FormatArgs
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 FormatArgs
impl Debug for FormatArgs
Source§impl PartialEq for FormatArgs
impl PartialEq for FormatArgs
impl StructuralPartialEq for FormatArgs
Auto Trait Implementations§
impl Freeze for FormatArgs
impl RefUnwindSafe for FormatArgs
impl !Send for FormatArgs
impl !Sync for FormatArgs
impl Unpin for FormatArgs
impl UnwindSafe for FormatArgs
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