Skip to main content Skip to main content
Pigweed's logo Pigweed
code_xml
  1. Home
  2. Reference
  3. Rust
  4. pw_format
  5. Llp64Platform

Llp64Platform

Struct Llp64Platform 

Source
pub struct Llp64Platform;
Expand description

Standard LLP64 platform types (32-bit int and long; 64-bit long long, intmax_t, size_t, ptrdiff_t, and 64-bit pointers), matching 64-bit Windows targets.

Trait Implementations§

Source§

impl Clone for Llp64Platform

Source§

fn clone(&self) -> Llp64Platform

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for Llp64Platform

Source§

impl Debug for Llp64Platform

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for Llp64Platform

Source§

impl PartialEq for Llp64Platform

Source§

fn eq(&self, other: &Llp64Platform) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl PlatformTypes for Llp64Platform

Source§

type SignedChar = i8

Native signed char type (hh signed conversions, e.g., i8).
Source§

type UnsignedChar = u8

Native unsigned char type (hh unsigned conversions, e.g., u8).
Source§

type SignedShort = i16

Native short type (h signed conversions, e.g., i16).
Source§

type UnsignedShort = u16

Native unsigned short type (h unsigned conversions, e.g., u16).
Source§

type SignedInt = i32

Native int type (default signed conversions without length modifier, e.g., i32).
Source§

type UnsignedInt = u32

Native unsigned int type (default unsigned conversions without length modifier, e.g., u32).
Source§

type SignedLong = i32

Native long type (l signed conversions, e.g., i32 on ILP32/LLP64, i64 on LP64).
Source§

type UnsignedLong = u32

Native unsigned long type (l unsigned conversions, e.g., u32 on ILP32/LLP64, u64 on LP64).
Source§

type SignedLongLong = i64

Native long long type (ll signed conversions, e.g., i64).
Source§

type UnsignedLongLong = u64

Native unsigned long long type (ll unsigned conversions, e.g., u64).
Source§

type IntMax = i64

Native intmax_t type (j signed conversions, e.g., i64).
Source§

type UIntMax = u64

Native uintmax_t type (j unsigned conversions, e.g., u64).
Source§

type SignedSize = i64

Native signed size_t / ssize_t type (z signed conversions, e.g., i32 on ILP32, i64 on LP64/LLP64).
Source§

type Size = u64

Native size_t type (z unsigned conversions, e.g., u32 on ILP32, u64 on LP64/LLP64).
Source§

type PointerDiff = i64

Native ptrdiff_t type (t signed conversions, e.g., i32 on ILP32, i64 on LP64/LLP64).
Source§

type UnsignedPointerDiff = u64

Native unsigned ptrdiff_t type (t unsigned conversions, e.g., u32 on ILP32, u64 on LP64/LLP64).
Source§

type Pointer = u64

Native pointer integer type (%p conversions / uintptr_t, e.g., u32 on ILP32, u64 on LP64/LLP64).
Source§

impl StructuralPartialEq for Llp64Platform

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.