Struct ChromaticityPoint

struct ChromaticityPoint { ... }

Chromaticity coordinates as defined by CIE 1931, expressed as 0.16 fixed-point values.

Fields

x: u16

The X coordinate.

y: u16

The Y coordinate.

Implementations

impl Clone for ChromaticityPoint

fn clone(self: &Self) -> ChromaticityPoint

impl Copy for ChromaticityPoint

impl Debug for ChromaticityPoint

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

impl Freeze for ChromaticityPoint

impl RefUnwindSafe for ChromaticityPoint

impl Send for ChromaticityPoint

impl Sync for ChromaticityPoint

impl Unpin for ChromaticityPoint

impl UnsafeUnpin for ChromaticityPoint

impl UnwindSafe for ChromaticityPoint

impl<T> Any for ChromaticityPoint

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for ChromaticityPoint

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for ChromaticityPoint

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

impl<T> CloneToUninit for ChromaticityPoint

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

impl<T> From for ChromaticityPoint

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for ChromaticityPoint

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for ChromaticityPoint

fn into(self: Self) -> U

Calls U::from(self).

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

impl<T, U> TryFrom for ChromaticityPoint

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for ChromaticityPoint

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