pub trait Length {
// Required method
fn len(&self) -> usize;
// Provided method
fn is_empty(&self) -> bool { ... }
}Expand description
The length (or number of elements) of a collection.
Required Methods§
Provided Methods§
Implementations on Foreign Types§
source§impl Length for BooleanBuffer
Available on crate feature arrow-rs only.
impl Length for BooleanBuffer
Available on crate feature
arrow-rs only.source§impl Length for NullBuffer
Available on crate feature arrow-rs only.
impl Length for NullBuffer
Available on crate feature
arrow-rs only.source§impl<OffsetItem: OffsetElement> Length for OffsetBuffer<OffsetItem>
Available on crate feature arrow-rs only.
impl<OffsetItem: OffsetElement> Length for OffsetBuffer<OffsetItem>
Available on crate feature
arrow-rs only.source§impl<T: FixedSize> Length for ScalarBuffer<T>
Available on crate feature arrow-rs only.
impl<T: FixedSize> Length for ScalarBuffer<T>
Available on crate feature
arrow-rs only.source§impl<T: FixedSize> Length for BufferBuilder<T>
Available on crate feature arrow-rs only.
impl<T: FixedSize> Length for BufferBuilder<T>
Available on crate feature
arrow-rs only.