[−][src]Struct sval::stream::Arguments
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,