Trait substrate::io::layout::CustomHardwareType
source · 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§
sourcefn from_layout_type(other: &T) -> Self
fn from_layout_type(other: &T) -> Self
Creates this layout type from another layout type.
Object Safety§
This trait is not object safe.