Struct Info
pub struct Info { /* private fields */ }
Expand description
Device info
Implementations§
§impl Info
impl Info
pub const unsafe fn from_ptr(ptr: *mut ()) -> Info
pub const fn as_ptr(&self) -> *mut ()
pub const fn variant(self) -> Reg<Variant, R>
pub const fn variant(self) -> Reg<Variant, R>
Part Variant, Hardware version and Production configuration
pub const fn codepagesize(self) -> Reg<Codepagesize, R>
pub const fn codepagesize(self) -> Reg<Codepagesize, R>
Code memory page size in bytes
pub 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
)