#[repr(transparent)]pub struct VaList<'a, 'f>where
'f: 'a,{
inner: &'a mut VaListImpl<'f>,
_marker: PhantomData<&'a mut VaListImpl<'f>>,
}
🔬This is a nightly-only experimental API. (
c_variadic
#44930)Expand description
A wrapper for a va_list
Fields§
§inner: &'a mut VaListImpl<'f>
🔬This is a nightly-only experimental API. (
§c_variadic
#44930)_marker: PhantomData<&'a mut VaListImpl<'f>>
🔬This is a nightly-only experimental API. (
c_variadic
#44930)Methods from Deref<Target = VaListImpl<'f>>§
sourcepub fn as_va_list<'a>(&'a mut self) -> VaList<'a, 'f>
🔬This is a nightly-only experimental API. (c_variadic
#44930)
pub fn as_va_list<'a>(&'a mut self) -> VaList<'a, 'f>
c_variadic
#44930)Convert a VaListImpl
into a VaList
that is binary-compatible with C’s va_list
.
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'f> Freeze for VaList<'a, 'f>
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>
impl<'a, 'f> !UnwindSafe for VaList<'a, 'f>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more