#[repr(transparent)]pub struct SramExecMode(pub u32);
Tuple Fields§
§0: u32
Implementations§
Source§impl SramExecMode
impl SramExecMode
pub const DisabledLocked: SramExecMode = _
pub const Disabled: SramExecMode = _
pub const Enabled: SramExecMode = _
Source§impl SramExecMode
impl SramExecMode
Trait Implementations§
Source§impl Binary for SramExecMode
impl Binary for SramExecMode
Source§impl Clone for SramExecMode
impl Clone for SramExecMode
Source§fn clone(&self) -> SramExecMode
fn clone(&self) -> SramExecMode
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 Debug for SramExecMode
impl Debug for SramExecMode
Source§impl Default for SramExecMode
impl Default for SramExecMode
Source§impl<'de> Deserialize<'de> for SramExecMode
impl<'de> Deserialize<'de> for SramExecMode
Source§fn deserialize<D>(deserializer: D) -> Result<SramExecMode, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<SramExecMode, D::Error>where
D: Deserializer<'de>,
Deserializes the value by forwarding to deserialize_any
.
deserialize_any
will forward strings to the string visitor
and forward integers to the appropriate integer visitor.
Source§impl Display for SramExecMode
impl Display for SramExecMode
Source§impl From<SramExecMode> for u32
impl From<SramExecMode> for u32
Source§fn from(v: SramExecMode) -> u32
fn from(v: SramExecMode) -> u32
Converts to this type from the input type.
Source§impl FromStr for SramExecMode
impl FromStr for SramExecMode
Source§impl Hash for SramExecMode
impl Hash for SramExecMode
Source§impl LowerHex for SramExecMode
impl LowerHex for SramExecMode
Source§impl Octal for SramExecMode
impl Octal for SramExecMode
Source§impl Ord for SramExecMode
impl Ord for SramExecMode
Source§fn cmp(&self, other: &SramExecMode) -> Ordering
fn cmp(&self, other: &SramExecMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SramExecMode
impl PartialEq for SramExecMode
Source§impl PartialOrd for SramExecMode
impl PartialOrd for SramExecMode
Source§impl Serialize for SramExecMode
impl Serialize for SramExecMode
Source§impl TryFrom<i16> for SramExecMode
impl TryFrom<i16> for SramExecMode
Source§impl TryFrom<i32> for SramExecMode
impl TryFrom<i32> for SramExecMode
Source§impl TryFrom<i64> for SramExecMode
impl TryFrom<i64> for SramExecMode
Source§impl TryFrom<i8> for SramExecMode
impl TryFrom<i8> for SramExecMode
Source§impl TryFrom<u16> for SramExecMode
impl TryFrom<u16> for SramExecMode
Source§impl TryFrom<u32> for SramExecMode
impl TryFrom<u32> for SramExecMode
Source§impl TryFrom<u64> for SramExecMode
impl TryFrom<u64> for SramExecMode
Source§impl TryFrom<u8> for SramExecMode
impl TryFrom<u8> for SramExecMode
Source§impl UpperHex for SramExecMode
impl UpperHex for SramExecMode
Source§impl ValueEnum for SramExecMode
impl ValueEnum for SramExecMode
impl Copy for SramExecMode
impl Eq for SramExecMode
impl StructuralPartialEq for SramExecMode
Auto Trait Implementations§
impl Freeze for SramExecMode
impl RefUnwindSafe for SramExecMode
impl Send for SramExecMode
impl Sync for SramExecMode
impl Unpin for SramExecMode
impl UnwindSafe for SramExecMode
Blanket Implementations§
§impl<T> Annotate for T
impl<T> Annotate for T
default fn format( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<Format>
default fn comment( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<String>
default fn as_annotate(&self) -> Option<&dyn Annotate>
default fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
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