pub struct Version(/* private fields */);
Expand description
System version information. This struct is used for both kernel and firmware versions.
§Example
let firm_version = ctru::os::firm_version();
assert_ne!(firm_version.major(), 0);
let kernel_version = ctru::os::kernel_version();
assert_ne!(kernel_version.major(), 0);
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnwindSafe for Version
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