pub trait CustomHardwareType<T: HardwareType>: HardwareType {
    // Required method
    fn from_layout_type(other: &T) -> Self;
}
Expand description

A custom layout type that can be derived from an existing layout type.

Required Methods§

source

fn from_layout_type(other: &T) -> Self

Creates this layout type from another layout type.

Object Safety§

This trait is not object safe.

Implementors§