#[repr(transparent)]pub struct Protblocksize(pub u32);
Expand description
Erase and write protection block size.
Tuple Fields§
§0: u32
Implementations§
Source§impl Protblocksize
impl Protblocksize
Sourcepub const fn protblocksize(&self) -> Protblocksize
pub const fn protblocksize(&self) -> Protblocksize
Erase and write protection block size.
Sourcepub fn set_protblocksize(&mut self, val: Protblocksize)
pub fn set_protblocksize(&mut self, val: Protblocksize)
Erase and write protection block size.
Trait Implementations§
Source§impl Clone for Protblocksize
impl Clone for Protblocksize
Source§fn clone(&self) -> Protblocksize
fn clone(&self) -> Protblocksize
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for Protblocksize
impl Default for Protblocksize
Source§fn default() -> Protblocksize
fn default() -> Protblocksize
Returns the “default value” for a type. Read more
Source§impl PartialEq for Protblocksize
impl PartialEq for Protblocksize
impl Copy for Protblocksize
impl Eq for Protblocksize
impl StructuralPartialEq for Protblocksize
Auto Trait Implementations§
impl Freeze for Protblocksize
impl RefUnwindSafe for Protblocksize
impl Send for Protblocksize
impl Sync for Protblocksize
impl Unpin for Protblocksize
impl UnwindSafe for Protblocksize
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
)