[][src]Struct const_format::for_examples::Point3

pub struct Point3 {
    pub x: u32,
    pub y: u32,
    pub z: u32,
}
This is supported on crate feature fmt only.

An example struct which implements const debug formatting.

Fields

x: u32
y: u32
z: u32

Implementations

impl Point3[src]

pub const fn const_debug_fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>[src]

pub const fn const_eq(&self, other: &Self) -> bool[src]

Trait Implementations

impl Clone for Point3[src]

impl Copy for Point3[src]

impl Debug for Point3[src]

impl FormatMarker for Point3[src]

type Kind = IsNotStdKind

What kind of type this is, this can be one of: Read more

type This = Self

The type after dereferencing, implemented as type This = Self; for all non-reference types Read more

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.