pub struct VaListImpl<'f> { /* private fields */ }
c_variadic #44930)
x86_64 ABI implementation of a va_list.
impl<'f> VaListImpl<'f>
pub fn as_va_list<'a>(&'a mut self) -> VaList<'a, 'f>
c_variadic #44930)
Converts a VaListImpl into a VaList that is binary-compatible with C’s va_list.
impl<'f> VaListImpl<'f>
pub unsafe fn arg<T>(&mut self) -> Twhere
T: VaArgSafe,c_variadic #44930)
Advance to and read the next variable argument.
This function is only sound to call when:
T.T.Calling this function with an incompatible type, an invalid value, or when there are no more variable arguments, is unsound.
pub unsafe fn with_copy<F, R>(&self, f: F) -> Rwhere
F: for<'copy> FnOnce(VaList<'copy, 'f>) -> R,c_variadic #44930)
Copies the va_list at the current location.
impl<'f> Clone for VaListImpl<'f>
fn clone(&self) -> VaListImpl<'f>
fn clone_from(&mut self, source: &Self)
source. Read more
impl<'f> Debug for VaListImpl<'f>
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>
impl<'f> Drop for VaListImpl<'f>
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>
impl<T> Any for Twhere
T: 'static + ?Sized,impl<T> Borrow<T> for Twhere
T: ?Sized,impl<T> BorrowMut<T> for Twhere
T: ?Sized,impl<T> CloneToUninit for Twhere
T: Clone,unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit #126799)
impl<T> From<T> for T
fn from(t: T) -> T
Returns the argument unchanged.
impl<T, U> Into<U> for Twhere
U: From<T>,fn into(self) -> U
Calls U::from(self).
That is, this conversion is whatever the implementation of From<T> for U chooses to do.
impl<T> ToOwned for Twhere
T: Clone,type Owned = T
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)
impl<T, U> TryFrom<U> for Twhere
U: Into<T>,type Error = Infallible
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto<U> for Twhere
U: TryFrom<T>,
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/ffi/struct.VaListImpl.html