Struct parquet::data_type::Int96 [−][src]
pub struct Int96 { /* fields omitted */ }
Rust representation for logical type INT96, value is backed by an array of u32
.
The type only takes 12 bytes, without extra padding.
Methods
impl Int96
[src]
impl Int96
pub fn new() -> Self
[src]
pub fn new() -> Self
Creates new INT96 type struct with no data set.
pub fn data(&self) -> &[u32]
[src]
pub fn data(&self) -> &[u32]
Returns underlying data as slice of u32
.
pub fn set_data(&mut self, elem0: u32, elem1: u32, elem2: u32)
[src]
pub fn set_data(&mut self, elem0: u32, elem1: u32, elem2: u32)
Sets data for this INT96 type.
Trait Implementations
impl Clone for Int96
[src]
impl Clone for Int96
fn clone(&self) -> Int96
[src]
fn clone(&self) -> Int96
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Int96
[src]
impl Debug for Int96
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for Int96
[src]
impl Default for Int96
impl PartialEq for Int96
[src]
impl PartialEq for Int96
fn eq(&self, other: &Int96) -> bool
[src]
fn eq(&self, other: &Int96) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl From<Vec<u32>> for Int96
[src]
impl From<Vec<u32>> for Int96
impl Rand for Int96
[src]
impl Rand for Int96
fn rand<R: Rng>(rng: &mut R) -> Self
[src]
fn rand<R: Rng>(rng: &mut R) -> Self
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Generates a random instance of this type using the specified source of randomness. Read more
impl AsBytes for Int96
[src]
impl AsBytes for Int96