跳到主要内容

Component

搜索

trait Component 

源代码
pub unsafe trait Component {
    // Required method
    fn is_valid(format: Pixel) -> bool;
}

必需方法§

Dyn 兼容性§

This trait is not dyn compatible.

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

对外部类型的实现§

源代码§

impl Component for (u8, u8, u8)

源代码§

impl Component for (u8, u8, u8, u8)

源代码§

impl Component for [u8; 3]

源代码§

impl Component for [u8; 4]

实现者§