#[non_exhaustive]pub enum SoC {
Bcm2835,
Bcm2836,
Bcm2837A1,
Bcm2837B0,
Bcm2711,
Bcm2712,
}
Expand description
Identifiable Raspberry Pi SoCs.
SoC
might be extended with additional variants in a minor or
patch revision, and must not be exhaustively matched against.
Instead, add a _
catch-all arm to match future variants.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
impl Copy for SoC
impl Eq for SoC
impl StructuralEq for SoC
impl StructuralPartialEq for SoC
Auto Trait Implementations§
impl RefUnwindSafe for SoC
impl Send for SoC
impl Sync for SoC
impl Unpin for SoC
impl UnwindSafe for SoC
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more