pub struct FieldRepresentingType<T, const VARIANT: u32, const FIELD: u32>where
T: ?Sized,{ /* private fields */ }🔬This is a nightly-only experimental API. (
field_representing_type_raw)Expand description
Field Representing Type
Trait Implementations§
Source§impl<T, const VARIANT: u32, const FIELD: u32> Clone for FieldRepresentingType<T, VARIANT, FIELD>where
T: ?Sized,
impl<T, const VARIANT: u32, const FIELD: u32> Clone for FieldRepresentingType<T, VARIANT, FIELD>where
T: ?Sized,
Source§fn clone(&self) -> FieldRepresentingType<T, VARIANT, FIELD>
fn clone(&self) -> FieldRepresentingType<T, VARIANT, FIELD>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
Performs copy-assignment from
source. Read moreimpl<T, const VARIANT: u32, const FIELD: u32> Copy for FieldRepresentingType<T, VARIANT, FIELD>where
T: ?Sized,
Source§impl<T, const VARIANT: u32, const FIELD: u32> Debug for FieldRepresentingType<T, VARIANT, FIELD>where
T: ?Sized,
impl<T, const VARIANT: u32, const FIELD: u32> Debug for FieldRepresentingType<T, VARIANT, FIELD>where
T: ?Sized,
Source§impl<T, const VARIANT: u32, const FIELD: u32> Default for FieldRepresentingType<T, VARIANT, FIELD>where
T: ?Sized,
impl<T, const VARIANT: u32, const FIELD: u32> Default for FieldRepresentingType<T, VARIANT, FIELD>where
T: ?Sized,
Source§fn default() -> FieldRepresentingType<T, VARIANT, FIELD>
fn default() -> FieldRepresentingType<T, VARIANT, FIELD>
Returns the “default value” for a type. Read more
impl<T, const VARIANT: u32, const FIELD: u32> Eq for FieldRepresentingType<T, VARIANT, FIELD>where
T: ?Sized,
Source§impl<T, const VARIANT: u32, const FIELD: u32> Hash for FieldRepresentingType<T, VARIANT, FIELD>where
T: ?Sized,
impl<T, const VARIANT: u32, const FIELD: u32> Hash for FieldRepresentingType<T, VARIANT, FIELD>where
T: ?Sized,
Source§impl<T, const VARIANT: u32, const FIELD: u32> Ord for FieldRepresentingType<T, VARIANT, FIELD>where
T: ?Sized,
impl<T, const VARIANT: u32, const FIELD: u32> Ord for FieldRepresentingType<T, VARIANT, FIELD>where
T: ?Sized,
Source§fn cmp(&self, other: &FieldRepresentingType<T, VARIANT, FIELD>) -> Ordering
fn cmp(&self, other: &FieldRepresentingType<T, VARIANT, FIELD>) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
Compares and returns the maximum of two values. Read more
Source§impl<T, const VARIANT: u32, const FIELD: u32> PartialEq for FieldRepresentingType<T, VARIANT, FIELD>where
T: ?Sized,
impl<T, const VARIANT: u32, const FIELD: u32> PartialEq for FieldRepresentingType<T, VARIANT, FIELD>where
T: ?Sized,
Source§fn eq(&self, other: &FieldRepresentingType<T, VARIANT, FIELD>) -> bool
fn eq(&self, other: &FieldRepresentingType<T, VARIANT, FIELD>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<T, const VARIANT: u32, const FIELD: u32> PartialOrd for FieldRepresentingType<T, VARIANT, FIELD>where
T: ?Sized,
impl<T, const VARIANT: u32, const FIELD: u32> PartialOrd for FieldRepresentingType<T, VARIANT, FIELD>where
T: ?Sized,
Source§fn partial_cmp(
&self,
other: &FieldRepresentingType<T, VARIANT, FIELD>,
) -> Option<Ordering>
fn partial_cmp( &self, other: &FieldRepresentingType<T, VARIANT, FIELD>, ) -> Option<Ordering>
1.0.0 (const: unstable) · Source§fn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
1.0.0 (const: unstable) · Source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
Auto Trait Implementations§
impl<T, const VARIANT: u32, const FIELD: u32> Freeze for FieldRepresentingType<T, VARIANT, FIELD>where
T: ?Sized,
impl<T, const VARIANT: u32, const FIELD: u32> RefUnwindSafe for FieldRepresentingType<T, VARIANT, FIELD>where
T: ?Sized,
impl<T, const VARIANT: u32, const FIELD: u32> Send for FieldRepresentingType<T, VARIANT, FIELD>where
T: ?Sized,
impl<T, const VARIANT: u32, const FIELD: u32> Sync for FieldRepresentingType<T, VARIANT, FIELD>where
T: ?Sized,
impl<T, const VARIANT: u32, const FIELD: u32> Unpin for FieldRepresentingType<T, VARIANT, FIELD>where
T: ?Sized,
impl<T, const VARIANT: u32, const FIELD: u32> UnsafeUnpin for FieldRepresentingType<T, VARIANT, FIELD>where
T: ?Sized,
impl<T, const VARIANT: u32, const FIELD: u32> UnwindSafe for FieldRepresentingType<T, VARIANT, FIELD>where
T: ?Sized,
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