#[repr(transparent)]pub struct ElsAssetProt(pub u32);Expand description
ELS Asset Protection Register
Tuple Fields§
§0: u32Implementations§
Source§impl ElsAssetProt
impl ElsAssetProt
Sourcepub const fn asset_protection(&self) -> AssetProtection
pub const fn asset_protection(&self) -> AssetProtection
ELS asset protection. This field controls the asset protection port to the ELS module. Refer to the ELS chapter in the SRM for more details.
Sourcepub const fn set_asset_protection(&mut self, val: AssetProtection)
pub const fn set_asset_protection(&mut self, val: AssetProtection)
ELS asset protection. This field controls the asset protection port to the ELS module. Refer to the ELS chapter in the SRM for more details.
Trait Implementations§
Source§impl Clone for ElsAssetProt
impl Clone for ElsAssetProt
Source§fn clone(&self) -> ElsAssetProt
fn clone(&self) -> ElsAssetProt
Returns a duplicate 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 Debug for ElsAssetProt
impl Debug for ElsAssetProt
Source§impl Default for ElsAssetProt
impl Default for ElsAssetProt
Source§fn default() -> ElsAssetProt
fn default() -> ElsAssetProt
Returns the “default value” for a type. Read more
Source§impl PartialEq for ElsAssetProt
impl PartialEq for ElsAssetProt
impl Copy for ElsAssetProt
impl Eq for ElsAssetProt
impl StructuralPartialEq for ElsAssetProt
Auto Trait Implementations§
impl Freeze for ElsAssetProt
impl RefUnwindSafe for ElsAssetProt
impl Send for ElsAssetProt
impl Sync for ElsAssetProt
impl Unpin for ElsAssetProt
impl UnwindSafe for ElsAssetProt
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