#[repr(transparent)]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>>
sourcepub fn as_va_list(&'a mut self) -> VaList<'a, 'f>
🔬 This is a nightly-only experimental API. (c_variadic
)
pub fn as_va_list(&'a mut self) -> VaList<'a, 'f>
🔬 This is a nightly-only experimental API. (
c_variadic
)Convert a VaListImpl
into a VaList
that is binary-compatible with C’s va_list
.
Trait Implementations
sourceimpl<'a, 'f> Deref for VaList<'a, 'f> where
'f: 'a,
impl<'a, 'f> Deref for VaList<'a, 'f> where
'f: 'a,
type Target = VaListImpl<'f>
type Target = VaListImpl<'f>
The resulting type after dereferencing.
sourcefn deref(&self) -> &VaListImpl<'f>
fn deref(&self) -> &VaListImpl<'f>
Dereferences the value.
Auto Trait Implementations
impl<'a, 'f> RefUnwindSafe for VaList<'a, 'f>
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,
impl<'a, 'f> !UnwindSafe for VaList<'a, 'f>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more