pub struct Time32<U: Time32UnitSpec>(/* private fields */);Expand description
Number of seconds/milliseconds since midnight.
Implementations§
Trait Implementations§
Source§impl<U: Time32UnitSpec> ArrowBinding for Time32<U>where
U::Arrow: ArrowPrimitiveType<Native = i32>,
impl<U: Time32UnitSpec> ArrowBinding for Time32<U>where
U::Arrow: ArrowPrimitiveType<Native = i32>,
Source§type Builder = PrimitiveBuilder<<U as Time32UnitSpec>::Arrow>
type Builder = PrimitiveBuilder<<U as Time32UnitSpec>::Arrow>
Concrete Arrow builder type used for this Rust type.
Source§type Array = PrimitiveArray<<U as Time32UnitSpec>::Arrow>
type Array = PrimitiveArray<<U as Time32UnitSpec>::Arrow>
Concrete Arrow array type produced by
finish.Source§fn new_builder(capacity: usize) -> Self::Builder
fn new_builder(capacity: usize) -> Self::Builder
Create a new builder with an optional capacity hint.
Source§fn append_value(b: &mut Self::Builder, v: &Self)
fn append_value(b: &mut Self::Builder, v: &Self)
Append a non-null value to the builder.
Source§fn append_null(b: &mut Self::Builder)
fn append_null(b: &mut Self::Builder)
Append a null to the builder.
Source§fn finish(b: Self::Builder) -> Self::Array
fn finish(b: Self::Builder) -> Self::Array
Finish the builder and produce a typed Arrow array.
Source§fn estimated_bytes_per_value() -> usize
fn estimated_bytes_per_value() -> usize
Estimated bytes per value for variable-length types (String, Binary, etc.).
Returns 0 for fixed-size types. Used to pre-allocate buffer space.
Source§impl<U: Time32UnitSpec + 'static> ArrowBindingView for Time32<U>where
U::Arrow: ArrowPrimitiveType<Native = i32>,
Available on crate feature views only.
impl<U: Time32UnitSpec + 'static> ArrowBindingView for Time32<U>where
U::Arrow: ArrowPrimitiveType<Native = i32>,
Available on crate feature
views only.Auto Trait Implementations§
impl<U> Freeze for Time32<U>
impl<U> RefUnwindSafe for Time32<U>where
U: RefUnwindSafe,
impl<U> Send for Time32<U>where
U: Send,
impl<U> Sync for Time32<U>where
U: Sync,
impl<U> Unpin for Time32<U>where
U: Unpin,
impl<U> UnwindSafe for Time32<U>where
U: UnwindSafe,
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