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 Int96pub fn new() -> Self[src]
pub fn new() -> SelfCreates 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 Int96fn clone(&self) -> Int96[src]
fn clone(&self) -> Int96Returns 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 Int96fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for Int96[src]
impl Default for Int96impl PartialEq for Int96[src]
impl PartialEq for Int96fn eq(&self, other: &Int96) -> bool[src]
fn eq(&self, other: &Int96) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl From<Vec<u32>> for Int96[src]
impl From<Vec<u32>> for Int96impl Rand for Int96[src]
impl Rand for Int96fn 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