Struct flatgeobuf::ColumnType
source · #[repr(transparent)]pub struct ColumnType(pub u8);
Tuple Fields§
§0: u8
Implementations§
source§impl ColumnType
impl ColumnType
pub const Byte: Self = _
pub const UByte: Self = _
pub const Bool: Self = _
pub const Short: Self = _
pub const UShort: Self = _
pub const Int: Self = _
pub const UInt: Self = _
pub const Long: Self = _
pub const ULong: Self = _
pub const Float: Self = _
pub const Double: Self = _
pub const String: Self = _
pub const Json: Self = _
pub const DateTime: Self = _
pub const Binary: Self = _
pub const ENUM_MIN: u8 = 0u8
pub const ENUM_MAX: u8 = 14u8
pub const ENUM_VALUES: &'static [Self] = _
sourcepub fn variant_name(self) -> Option<&'static str>
pub fn variant_name(self) -> Option<&'static str>
Returns the variant’s name or “” if unknown.
Trait Implementations§
source§impl Clone for ColumnType
impl Clone for ColumnType
source§fn clone(&self) -> ColumnType
fn clone(&self) -> ColumnType
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 ColumnType
impl Debug for ColumnType
source§impl Default for ColumnType
impl Default for ColumnType
source§fn default() -> ColumnType
fn default() -> ColumnType
Returns the “default value” for a type. Read more
source§impl EndianScalar for ColumnType
impl EndianScalar for ColumnType
source§impl<'a> Follow<'a> for ColumnType
impl<'a> Follow<'a> for ColumnType
source§impl Hash for ColumnType
impl Hash for ColumnType
source§impl Ord for ColumnType
impl Ord for ColumnType
source§fn cmp(&self, other: &ColumnType) -> Ordering
fn cmp(&self, other: &ColumnType) -> 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 ColumnType
impl PartialEq for ColumnType
source§fn eq(&self, other: &ColumnType) -> bool
fn eq(&self, other: &ColumnType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ColumnType
impl PartialOrd for ColumnType
source§fn partial_cmp(&self, other: &ColumnType) -> Option<Ordering>
fn partial_cmp(&self, other: &ColumnType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Push for ColumnType
impl Push for ColumnType
source§impl<'a> Verifiable for ColumnType
impl<'a> Verifiable for ColumnType
source§fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize
) -> Result<(), InvalidFlatbuffer>
fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize ) -> Result<(), InvalidFlatbuffer>
Runs the verifier for this type, assuming its at position
pos
in the verifier’s buffer.
Should not need to be called directly.impl Copy for ColumnType
impl Eq for ColumnType
impl SimpleToVerifyInSlice for ColumnType
impl StructuralPartialEq for ColumnType
Auto Trait Implementations§
impl RefUnwindSafe for ColumnType
impl Send for ColumnType
impl Sync for ColumnType
impl Unpin for ColumnType
impl UnwindSafe for ColumnType
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.