pub trait XoscId: Sealed {
type XIn: PinId;
type XOut: PinId;
const NUM: usize;
}
Expand description
Type-level enum identifying one of two possible Xosc
s
The types implementing this trait, i.e. Xosc0Id
and Xosc1Id
, are
type-level variants of XoscId
, and they identify one of two possible
external crystal oscillators.
See the documentation on type-level programming and specifically type-level enums for more details.
Required Associated Constants§
Required Associated Types§
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.