pub enum TableElementFormat {
Show 14 variants
Character,
Boolean,
Bit,
U8,
I8,
U16,
I16,
U32,
I32,
I64,
F32,
F64,
C32,
M64,
}Expand description
The type of a single element, for the columns whose length is not fixed by their format.
Variants§
Character
A: one character.
Boolean
L: a logical.
Bit
X: a bit.
U8
B: an unsigned byte.
I8
S: a signed byte.
U16
U: an unsigned 16-bit integer.
I16
I: a signed 16-bit integer.
U32
V: an unsigned 32-bit integer.
I32
J: a signed 32-bit integer.
I64
K: a signed 64-bit integer.
F32
E: a single precision float.
F64
D: a double precision float.
C32
C: a single precision complex value.
M64
M: a double precision complex value.
Implementations§
Source§impl TableElementFormat
impl TableElementFormat
Sourcepub fn repeated(&self, count: usize) -> TableColumnFormat
pub fn repeated(&self, count: usize) -> TableColumnFormat
This element type repeated count times, as a fixed-width column format.
That is what a variable length array becomes once its descriptor has said how long it actually is.
Trait Implementations§
Source§impl Clone for TableElementFormat
impl Clone for TableElementFormat
Source§fn clone(&self) -> TableElementFormat
fn clone(&self) -> TableElementFormat
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 TableElementFormat
Source§impl Debug for TableElementFormat
impl Debug for TableElementFormat
Source§impl PartialEq for TableElementFormat
impl PartialEq for TableElementFormat
impl StructuralPartialEq for TableElementFormat
Auto Trait Implementations§
impl Freeze for TableElementFormat
impl RefUnwindSafe for TableElementFormat
impl Send for TableElementFormat
impl Sync for TableElementFormat
impl Unpin for TableElementFormat
impl UnsafeUnpin for TableElementFormat
impl UnwindSafe for TableElementFormat
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more