Struct core::ffi::VaListImpl
source · pub struct VaListImpl<'f> {
ptr: *mut c_void,
_marker: PhantomData<&'f mut &'f c_void>,
}
🔬This is a nightly-only experimental API. (
c_variadic
#44930)Expand description
Basic implementation of a va_list
.
Fields§
§ptr: *mut c_void
🔬This is a nightly-only experimental API. (
§c_variadic
#44930)_marker: PhantomData<&'f mut &'f c_void>
🔬This is a nightly-only experimental API. (
c_variadic
#44930)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§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