#[repr(C)]pub struct RCell {
pub kind: RCellKind,
pub text: Option<String>,
pub number: f64,
pub bytes: u64,
}Expand description
FFI-safe mirror of Cell — a single cell in a Table reading.
Three parallel payload fields; the active one is selected by
kind. Inactive fields carry default values that are never read.
Fields§
§kind: RCellKind§text: Option<String>§number: f64§bytes: u64Implementations§
Trait Implementations§
Source§impl IStable for RCell
impl IStable for RCell
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 = <Struct<FieldPair<FieldPair<FieldPair<RCellKind, Option<String>>, f64>, u64>> as IStable>::ForbiddenValues
type ForbiddenValues = <Struct<FieldPair<FieldPair<FieldPair<RCellKind, Option<String>>, f64>, u64>> as IStable>::ForbiddenValues
The values that the annotated type cannot occupy.
Source§type UnusedBits = <Struct<FieldPair<FieldPair<FieldPair<RCellKind, Option<String>>, f64>, u64>> as IStable>::UnusedBits
type UnusedBits = <Struct<FieldPair<FieldPair<FieldPair<RCellKind, Option<String>>, f64>, u64>> as IStable>::UnusedBits
The padding bits in the annotated types
Source§type Size = <Struct<FieldPair<FieldPair<FieldPair<RCellKind, Option<String>>, f64>, u64>> as IStable>::Size
type Size = <Struct<FieldPair<FieldPair<FieldPair<RCellKind, Option<String>>, f64>, u64>> as IStable>::Size
The size of the annotated type in bytes.
Source§type Align = <Struct<FieldPair<FieldPair<FieldPair<RCellKind, Option<String>>, f64>, u64>> as IStable>::Align
type Align = <Struct<FieldPair<FieldPair<FieldPair<RCellKind, Option<String>>, f64>, u64>> as IStable>::Align
The alignment of the annotated type in bytes.
Source§type HasExactlyOneNiche = <Struct<FieldPair<FieldPair<FieldPair<RCellKind, Option<String>>, f64>, u64>> as IStable>::HasExactlyOneNiche
type HasExactlyOneNiche = <Struct<FieldPair<FieldPair<FieldPair<RCellKind, Option<String>>, f64>, u64>> as IStable>::HasExactlyOneNiche
Allows the detection of whether or not
core::option::Options are stable: Read moreAuto Trait Implementations§
impl Freeze for RCell
impl RefUnwindSafe for RCell
impl Send for RCell
impl Sync for RCell
impl Unpin for RCell
impl UnsafeUnpin for RCell
impl UnwindSafe for RCell
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