[−][src]Struct const_format::for_examples::Point3
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]
pub fn clone(&self) -> Point3
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,