doc.rust-lang.org
pub type c_char = i8
Equivalent to C's char type.
type_alias
core
Stable since 1.64.0
Version 1.100.0-nightly
doc.rust-lang.org
pub type c_double = f64
Equivalent to C's double type.
type_alias
core
Stable since 1.64.0
Version 1.100.0-nightly
doc.rust-lang.org
pub type c_float = f32
Equivalent to C's float type.
type_alias
core
Stable since 1.64.0
Version 1.100.0-nightly
doc.rust-lang.org
pub type c_int = i32
Equivalent to C's signed int (int) type.
type_alias
core
Stable since 1.64.0
Version 1.100.0-nightly
doc.rust-lang.org
pub type c_long = i64
Equivalent to C's signed long (long) type.
type_alias
core
Stable since 1.64.0
Version 1.100.0-nightly
doc.rust-lang.org
pub type c_longlong = i64
Equivalent to C's signed long long (long long) type.
type_alias
core
Stable since 1.64.0
Version 1.100.0-nightly
doc.rust-lang.org
pub type c_schar = i8
Equivalent to C's signed char type.
type_alias
core
Stable since 1.64.0
Version 1.100.0-nightly
doc.rust-lang.org
pub type c_short = i16
Equivalent to C's signed short (short) type.
type_alias
core
Stable since 1.64.0
Version 1.100.0-nightly
doc.rust-lang.org
pub type c_uchar = u8
Equivalent to C's unsigned char type.
type_alias
core
Stable since 1.64.0
Version 1.100.0-nightly
doc.rust-lang.org
pub type c_uint = u32
Equivalent to C's unsigned int type.
type_alias
core
Stable since 1.64.0
Version 1.100.0-nightly
doc.rust-lang.org
pub type c_ulong = u64
Equivalent to C's unsigned long type.
type_alias
core
Stable since 1.64.0
Version 1.100.0-nightly
doc.rust-lang.org
pub type c_ulonglong = u64
Equivalent to C's unsigned long long type.
type_alias
core
Stable since 1.64.0
Version 1.100.0-nightly
doc.rust-lang.org
pub type c_ushort = u16
Equivalent to C's unsigned short type.
type_alias
core
Stable since 1.64.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe trait VaArgSafe
Types that are valid to read using VaList::next_arg.
trait
core
Stable since 1.100.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct VaList<'a>
A variable argument list, ABI-compatible with va_list in C.
struct
core
Stable since 1.100.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const unsafe fn next_arg<T>(&mut self) -> T
Read the next argument from the variable argument list.
method
core
Stable since 1.100.0
Version 1.100.0-nightly
doc.rust-lang.org
pub macro file!
Expands to the file name in which it was invoked.
macro
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub mod fmt
Utilities for formatting and printing strings.
module
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub enum Alignment
Possible alignments returned by Formatter::align
enum
core
Stable since 1.28.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct Arguments<'a>
This structure represents a safely precompiled version of a format string and its arguments. This cannot be generated at runtime because it cannot safely be done, so no constructors are given and the fields are private to prevent modification.
struct
core
Stable since 1.0.0
Version 1.100.0-nightly