kvarn_async::prelude::compact_str::core::ffi

Struct VaList

source
pub struct VaList<'a, 'f>
where 'f: 'a,
{ /* private fields */ }
šŸ”¬This is a nightly-only experimental API. (c_variadic)
Expand description

A wrapper for a va_list

Methods from Deref<Target = VaListImpl<'f>>Ā§

source

pub fn as_va_list<'a>(&'a mut self) -> VaList<'a, 'f>

šŸ”¬This is a nightly-only experimental API. (c_variadic)

Converts a VaListImpl into a VaList that is binary-compatible with Cā€™s va_list.

source

pub unsafe fn arg<T>(&mut self) -> T
where T: VaArgSafe,

šŸ”¬This is a nightly-only experimental API. (c_variadic)

Advance to the next arg.

source

pub unsafe fn with_copy<F, R>(&self, f: F) -> R
where F: for<'copy>