Struct core::ffi::VaList [−][src]
#[repr(transparent)]pub struct VaList<'a, 'f: 'a> { /* fields omitted */ }
🔬 This is a nightly-only experimental API. (c_variadic
#44930)
the c_variadic
feature has not been properly tested on all supported platforms
A wrapper for a va_list
Methods from Deref<Target = VaListImpl<'f>>
pub fn as_va_list<'a>(&'a mut self) -> VaList<'a, 'f>
[src]
🔬 This is a nightly-only experimental API. (c_variadic
#44930)
the c_variadic
feature has not been properly tested on all supported platforms
Convert a VaListImpl
into a VaList
that is binary-compatible with C’s va_list
.
pub unsafe fn arg<T: VaArgSafe>(&mut self) -> T
[src]
🔬 This is a nightly-only experimental API. (c_variadic
#44930)
the c_variadic
feature has not been properly tested on all supported platforms
Advance to the next arg.
pub unsafe fn with_copy<F, R>(&self, f: F) -> R where
F: for<'copy> FnOnce(VaList<'copy, 'f>) -> R,
[src]
F: for<'copy> FnOnce(VaList<'copy, 'f>) -> R,
🔬 This is a nightly-only experimental API. (c_variadic
#44930)
the c_variadic
feature has not been properly tested on all supported platforms
Copies the va_list
at the current location.
Trait Implementations
impl<'a, 'f: 'a> Deref for VaList<'a, 'f>
[src]
impl<'a, 'f: 'a> Deref for VaList<'a, 'f>
[src]type Target = VaListImpl<'f>
The resulting type after dereferencing.
fn deref(&self) -> &VaListImpl<'f>
[src]
Auto Trait Implementations
impl<'a, 'f> !Send for VaList<'a, 'f>
impl<'a, 'f> !Sync for VaList<'a, 'f>
impl<'a, 'f> Unpin for VaList<'a, 'f> where
'f: 'a,
'f: 'a,