[][src]Struct sval::stream::Arguments

pub struct Arguments<'a>(_);

A formattable value.

Implementations

impl<'a> Arguments<'a>[src]

pub fn new(v: Arguments<'a>) -> Self[src]

Capture standard format arguments.

Prefer the debug and display methods to create Arguments over passing them through format_args, because format_args will clobber any flags a stream might want to format these arguments with.

pub fn debug(v: &'a impl Debug) -> Self[src]

Capture arguments from a debuggable value.

pub fn display(v: &'a impl Display) -> Self[src]

Capture arguments from a displayable value.

Trait Implementations

impl<'a> Debug for Arguments<'a>[src]

impl<'a> Display for Arguments<'a>[src]

impl<'a> From<&'a (dyn Debug + 'a)> for Arguments<'a>[src]

impl<'a> From<&'a (dyn Display + 'a)> for Arguments<'a>[src]

impl<'a> From<Arguments<'a>> for Arguments<'a>[src]

impl<'a> Value for Arguments<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for Arguments<'a>[src]

impl<'a> !Send for Arguments<'a>[src]

impl<'a> !Sync for Arguments<'a>[src]

impl<'a> Unpin for Arguments<'a>[src]

impl<'a> !UnwindSafe for Arguments<'a>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.