#[repr(u8)]pub enum RReadingKind {
Scalar = 0,
Counter = 1,
Table = 2,
State = 3,
}Expand description
Discriminant for RReading.
Variants§
Trait Implementations§
Source§impl Clone for RReadingKind
impl Clone for RReadingKind
Source§fn clone(&self) -> RReadingKind
fn clone(&self) -> RReadingKind
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)
Performs copy-assignment from
source. Read moreimpl Copy for RReadingKind
Source§impl Debug for RReadingKind
impl Debug for RReadingKind
impl Eq for RReadingKind
Source§impl IStable for RReadingKind
impl IStable for RReadingKind
Source§const REPORT: &'static TypeReport
const REPORT: &'static TypeReport
A compile-time generated report of the fields of the type, allowing for compatibility inspection.
Source§const ID: u64
const ID: u64
A stable (and ideally unique) identifier for the type. Often generated using
crate::report::gen_id, but can be manually set.Source§type ForbiddenValues = <Tuple2<u8, ()> as IStable>::ForbiddenValues
type ForbiddenValues = <Tuple2<u8, ()> as IStable>::ForbiddenValues
The values that the annotated type cannot occupy.
Source§type UnusedBits = <Tuple2<u8, ()> as IStable>::UnusedBits
type UnusedBits = <Tuple2<u8, ()> as IStable>::UnusedBits
The padding bits in the annotated types
Source§type HasExactlyOneNiche = B0
type HasExactlyOneNiche = B0
Allows the detection of whether or not
core::option::Options are stable: Read moreSource§type ContainsIndirections = <Tuple2<u8, ()> as IStable>::ContainsIndirections
type ContainsIndirections = <Tuple2<u8, ()> as IStable>::ContainsIndirections
Whether or not the type contains indirections (pointers, indices in independent data-structures…)
Source§impl PartialEq for RReadingKind
impl PartialEq for RReadingKind
Source§fn eq(&self, other: &RReadingKind) -> bool
fn eq(&self, other: &RReadingKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RReadingKind
Auto Trait Implementations§
impl Freeze for RReadingKind
impl RefUnwindSafe for RReadingKind
impl Send for RReadingKind
impl Sync for RReadingKind
impl Unpin for RReadingKind
impl UnsafeUnpin for RReadingKind
impl UnwindSafe for RReadingKind
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
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§impl<T> IPod for T
impl<T> IPod for T
Source§fn identifier() -> u64
fn identifier() -> u64
Produces an identifier for the type, allowing to check type at runtime (barring collisions).