Struct gltf::mesh::util::colors::RgbU16 [−][src]
pub struct RgbU16;
Type which describes how to cast any color into RGB u16.
Trait Implementations
impl Clone for RgbU16
[src]
impl Clone for RgbU16
fn clone(&self) -> RgbU16
[src]
fn clone(&self) -> RgbU16
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for RgbU16
[src]
impl Debug for RgbU16
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Cast for RgbU16
[src]
impl Cast for RgbU16
type Output = [u16; 3]
Output type.
fn cast_rgb_u8(x: [u8; 3]) -> Self::Output
[src]
fn cast_rgb_u8(x: [u8; 3]) -> Self::Output
Cast from RGB u8.
fn cast_rgb_u16(x: [u16; 3]) -> Self::Output
[src]
fn cast_rgb_u16(x: [u16; 3]) -> Self::Output
Cast from RGB u16.
fn cast_rgb_f32(x: [f32; 3]) -> Self::Output
[src]
fn cast_rgb_f32(x: [f32; 3]) -> Self::Output
Cast from RGB f32.
fn cast_rgba_u8(x: [u8; 4]) -> Self::Output
[src]
fn cast_rgba_u8(x: [u8; 4]) -> Self::Output
Cast from RGBA u8.
fn cast_rgba_u16(x: [u16; 4]) -> Self::Output
[src]
fn cast_rgba_u16(x: [u16; 4]) -> Self::Output
Cast from RGBA u16.
fn cast_rgba_f32(x: [f32; 4]) -> Self::Output
[src]
fn cast_rgba_f32(x: [f32; 4]) -> Self::Output
Cast from RGBA f32.