#[repr(transparent)]pub struct HardenedByteBool(pub u8);
Expand description
From //sw/device/lib/base/hardened.h
.
Tuple Fields§
§0: u8
Implementations§
Source§impl HardenedByteBool
impl HardenedByteBool
pub const True: HardenedByteBool = _
pub const False: HardenedByteBool = _
Trait Implementations§
Source§impl Binary for HardenedByteBool
impl Binary for HardenedByteBool
Source§impl Clone for HardenedByteBool
impl Clone for HardenedByteBool
Source§fn clone(&self) -> HardenedByteBool
fn clone(&self) -> HardenedByteBool
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 HardenedByteBool
impl Debug for HardenedByteBool
Source§impl Default for HardenedByteBool
impl Default for HardenedByteBool
Source§impl<'de> Deserialize<'de> for HardenedByteBool
impl<'de> Deserialize<'de> for HardenedByteBool
Source§fn deserialize<D>(deserializer: D) -> Result<HardenedByteBool, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<HardenedByteBool, 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 HardenedByteBool
impl Display for HardenedByteBool
Source§impl From<HardenedByteBool> for u8
impl From<HardenedByteBool> for u8
Source§fn from(v: HardenedByteBool) -> u8
fn from(v: HardenedByteBool) -> u8
Converts to this type from the input type.
Source§impl FromStr for HardenedByteBool
impl FromStr for HardenedByteBool
Source§impl Hash for HardenedByteBool
impl Hash for HardenedByteBool
Source§impl LowerHex for HardenedByteBool
impl LowerHex for HardenedByteBool
Source§impl Octal for HardenedByteBool
impl Octal for HardenedByteBool
Source§impl Ord for HardenedByteBool
impl Ord for HardenedByteBool
Source§fn cmp(&self, other: &HardenedByteBool) -> Ordering
fn cmp(&self, other: &HardenedByteBool) -> 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 HardenedByteBool
impl PartialEq for HardenedByteBool
Source§impl PartialOrd for HardenedByteBool
impl PartialOrd for HardenedByteBool
Source§impl Serialize for HardenedByteBool
impl Serialize for HardenedByteBool
Source§impl TryFrom<i16> for HardenedByteBool
impl TryFrom<i16> for HardenedByteBool
Source§impl TryFrom<i32> for HardenedByteBool
impl TryFrom<i32> for HardenedByteBool
Source§impl TryFrom<i64> for HardenedByteBool
impl TryFrom<i64> for HardenedByteBool
Source§impl TryFrom<i8> for HardenedByteBool
impl TryFrom<i8> for HardenedByteBool
Source§impl TryFrom<u16> for HardenedByteBool
impl TryFrom<u16> for HardenedByteBool
Source§impl TryFrom<u32> for HardenedByteBool
impl TryFrom<u32> for HardenedByteBool
Source§impl TryFrom<u64> for HardenedByteBool
impl TryFrom<u64> for HardenedByteBool
Source§impl TryFrom<u8> for HardenedByteBool
impl TryFrom<u8> for HardenedByteBool
Source§impl UpperHex for HardenedByteBool
impl UpperHex for HardenedByteBool
Source§impl ValueEnum for HardenedByteBool
impl ValueEnum for HardenedByteBool
impl Copy for HardenedByteBool
impl Eq for HardenedByteBool
impl StructuralPartialEq for HardenedByteBool
Auto Trait Implementations§
impl Freeze for HardenedByteBool
impl RefUnwindSafe for HardenedByteBool
impl Send for HardenedByteBool
impl Sync for HardenedByteBool
impl Unpin for HardenedByteBool
impl UnwindSafe for HardenedByteBool
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