pub struct Separated<'s, T> {
pub values: Vec<WsWrapped<'s, T>>,
pub trailing_comma: bool,
pub trailing_ws: Whitespace<'s>,
}Fields§
§values: Vec<WsWrapped<'s, T>>§trailing_comma: boolWhen formatting with Display comma is only shown when
Self::values is not empty.
trailing_ws: Whitespace<'s>Trait Implementations§
impl<'s, T> StructuralPartialEq for Separated<'s, T>
Auto Trait Implementations§
impl<'s, T> Freeze for Separated<'s, T>
impl<'s, T> RefUnwindSafe for Separated<'s, T>where
T: RefUnwindSafe,
impl<'s, T> Send for Separated<'s, T>where
T: Send,
impl<'s, T> Sync for Separated<'s, T>where
T: Sync,
impl<'s, T> Unpin for Separated<'s, T>where
T: Unpin,
impl<'s, T> UnwindSafe for Separated<'s, T>where
T: UnwindSafe,
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