Enum ctru::services::cfgu::SystemModel
source · #[repr(u8)]pub enum SystemModel {
Old3DS = 0,
Old3DSXL = 1,
New3DS = 2,
Old2DS = 3,
New3DSXL = 4,
New2DSXL = 5,
}
Expand description
Specific model of the console.
Variants§
Old3DS = 0
Old Nintendo 3DS.
Old3DSXL = 1
Old Nintendo 3DS XL.
New3DS = 2
New Nintendo 3DS.
Old2DS = 3
Old Nintendo 2DS.
New3DSXL = 4
New Nintendo 3DS XL.
New2DSXL = 5
New Nintendo 2DS XL.
Trait Implementations§
source§impl Clone for SystemModel
impl Clone for SystemModel
source§fn clone(&self) -> SystemModel
fn clone(&self) -> SystemModel
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SystemModel
impl Debug for SystemModel
source§impl From<SystemModel> for u8
impl From<SystemModel> for u8
source§fn from(v: SystemModel) -> Self
fn from(v: SystemModel) -> Self
Converts to this type from the input type.
source§impl PartialEq for SystemModel
impl PartialEq for SystemModel
source§impl TryFrom<u8> for SystemModel
impl TryFrom<u8> for SystemModel
impl Copy for SystemModel
impl Eq for SystemModel
impl StructuralPartialEq for SystemModel
Auto Trait Implementations§
impl RefUnwindSafe for SystemModel
impl Send for SystemModel
impl Sync for SystemModel
impl Unpin for SystemModel
impl UnwindSafe for SystemModel
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more