Enum raspberry_pi::BoardType
source · [−]#[repr(u8)]
pub enum BoardType {
Show 20 variants
ModelA,
ModelB,
ModelAPlus,
ModelBPlus,
Pi2ModelB,
Alpha,
Cm,
Cm2,
Pi3ModelB,
Pi0,
Cm3,
Custom,
Pi0W,
Pi3ModelBPlus,
Pi3ModelAPlus,
Fpga,
Cm3Plus,
Pi4ModelB,
Pi400,
Cm4,
}Expand description
The board type
Variants
ModelA
ModelB
ModelAPlus
ModelBPlus
Pi2ModelB
Alpha
Cm
Cm2
Pi3ModelB
Pi0
Cm3
Custom
Pi0W
Pi3ModelBPlus
Pi3ModelAPlus
Fpga
Cm3Plus
Pi4ModelB
Pi400
Cm4
Trait Implementations
impl Copy for BoardType
impl Eq for BoardType
impl StructuralEq for BoardType
impl StructuralPartialEq for BoardType
Auto Trait Implementations
impl RefUnwindSafe for BoardType
impl Send for BoardType
impl Sync for BoardType
impl Unpin for BoardType
impl UnwindSafe for BoardType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more