Trait IntoPixelComponent

Source
pub trait IntoPixelComponent<Out: PixelComponent>
where Self: PixelComponent,
{ // Required method fn into_component(self) -> Out; }

Required Methods§

Source

fn into_component(self) -> Out

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl IntoPixelComponent<f32> for i32

Source§

impl IntoPixelComponent<f32> for u8

Source§

impl IntoPixelComponent<f32> for u16

Source§

impl IntoPixelComponent<i32> for f32

Source§

impl IntoPixelComponent<i32> for u8

Source§

impl IntoPixelComponent<i32> for u16

Source§

impl IntoPixelComponent<u8> for f32

Source§

impl IntoPixelComponent<u8> for i32

Source§

impl IntoPixelComponent<u8> for u16

Source§

impl IntoPixelComponent<u16> for f32

Source§

impl IntoPixelComponent<u16> for i32

Source§

impl IntoPixelComponent<u16> for u8

Implementors§