Struct std::ffi::VaListImpl
source · pub struct VaListImpl<'f> { /* private fields */ }
🔬This is a nightly-only experimental API. (
c_variadic
#44930)Expand description
Basic implementation of a va_list
.
Implementations§
source§impl<'f> VaListImpl<'f>
impl<'f> 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§
source§impl<'f> Clone for VaListImpl<'f>
impl<'f> Clone for VaListImpl<'f>
source§fn clone(&self) -> VaListImpl<'f>
fn clone(&self) -> VaListImpl<'f>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'f> Debug for VaListImpl<'f>
impl<'f> Debug for VaListImpl<'f>
Auto Trait Implementations§
impl<'f> Freeze for VaListImpl<'f>
impl<'f> RefUnwindSafe for VaListImpl<'f>
impl<'f> !Send for VaListImpl<'f>
impl<'f> !Sync for VaListImpl<'f>
impl<'f> Unpin for VaListImpl<'f>
impl<'f> !UnwindSafe for VaListImpl<'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