#[repr(transparent)]pub struct Ba419sm4hwcfg(pub u32);
Expand description
Generic g_SM4ModesPoss value.
Tuple Fields§
§0: u32
Implementations§
Source§impl Ba419sm4hwcfg
impl Ba419sm4hwcfg
Sourcepub const fn ba419sm4hwcfg(&self) -> u16
pub const fn ba419sm4hwcfg(&self) -> u16
Generic g_SM4ModesPoss value.
Sourcepub fn set_ba419sm4hwcfg(&mut self, val: u16)
pub fn set_ba419sm4hwcfg(&mut self, val: u16)
Generic g_SM4ModesPoss value.
Sourcepub const fn usemasking(&self) -> bool
pub const fn usemasking(&self) -> bool
Generic g_sm4UseMasking value.
Sourcepub fn set_usemasking(&mut self, val: bool)
pub fn set_usemasking(&mut self, val: bool)
Generic g_sm4UseMasking value.
Trait Implementations§
Source§impl Clone for Ba419sm4hwcfg
impl Clone for Ba419sm4hwcfg
Source§fn clone(&self) -> Ba419sm4hwcfg
fn clone(&self) -> Ba419sm4hwcfg
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 Ba419sm4hwcfg
impl Default for Ba419sm4hwcfg
Source§fn default() -> Ba419sm4hwcfg
fn default() -> Ba419sm4hwcfg
Returns the “default value” for a type. Read more
Source§impl PartialEq for Ba419sm4hwcfg
impl PartialEq for Ba419sm4hwcfg
impl Copy for Ba419sm4hwcfg
impl Eq for Ba419sm4hwcfg
impl StructuralPartialEq for Ba419sm4hwcfg
Auto Trait Implementations§
impl Freeze for Ba419sm4hwcfg
impl RefUnwindSafe for Ba419sm4hwcfg
impl Send for Ba419sm4hwcfg
impl Sync for Ba419sm4hwcfg
impl Unpin for Ba419sm4hwcfg
impl UnwindSafe for Ba419sm4hwcfg
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
)