pub struct Info { /* private fields */ }
Expand description
Device info
Implementations§
Source§impl Info
impl Info
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn variant(self) -> Reg<InfoVariant, R>
pub const fn variant(self) -> Reg<InfoVariant, R>
Part Variant, Hardware version and Production configuration
Sourcepub const fn codepagesize(self) -> Reg<Codepagesize, R>
pub const fn codepagesize(self) -> Reg<Codepagesize, R>
Code memory page size
Sourcepub const fn devicetype(self) -> Reg<Devicetype, R>
pub const fn devicetype(self) -> Reg<Devicetype, R>
Device type
Trait Implementations§
impl Copy for Info
impl Eq for Info
impl Send for Info
impl StructuralPartialEq for Info
impl Sync for Info
Auto Trait Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)