Trait columnar::common::Len

source ·
pub trait Len {
    // Required method
    fn len(&self) -> usize;

    // Provided method
    fn is_empty(&self) -> bool { ... }
}
Expand description

A type with a length.

Required Methods§

source

fn len(&self) -> usize

The number of contained elements.

Provided Methods§

source

fn is_empty(&self) -> bool

Whether this contains no elements.

Implementations on Foreign Types§

source§

impl<A: Len> Len for (A,)

source§

fn len(&self) -> usize

source§

impl<A: Len, B: Len> Len for (A, B)

source§

fn len(&self) -> usize

source§

impl<A: Len, B: Len, C: Len> Len for (A, B, C)

source§

fn len(&self) -> usize

source§

impl<A: Len, B: Len, C: Len, D: Len> Len for (A, B, C, D)

source§

fn len(&self) -> usize

source§

impl<A: Len, B: Len, C: Len, D: Len, E: Len> Len for (A, B, C, D, E)

source§

fn len(&self) -> usize

source§

impl<A: Len, B: Len, C: Len, D: Len, E: Len, F: Len> Len for (A, B, C, D, E, F)

source§

fn len(&self) -> usize

source§

impl<A: Len, B: Len, C: Len, D: Len, E: Len, F: Len, G: Len> Len for (A, B, C, D, E, F, G)

source§

fn len(&self) -> usize

source§

impl<A: Len, B: Len, C: Len, D: Len, E: Len, F: Len, G: Len, H: Len> Len for (A, B, C, D, E, F, G, H)

source§

fn len(&self) -> usize

source§

impl<A: Len, B: Len, C: Len, D: Len, E: Len, F: Len, G: Len, H: Len, I: Len> Len for (A, B, C, D, E, F, G, H, I)

source§

fn len(&self) -> usize

source§

impl<A: Len, B: Len, C: Len, D: Len, E: Len, F: Len, G: Len, H: Len, I: Len, J: Len> Len for (A, B, C, D, E, F, G, H, I, J)

source§

fn len(&self) -> usize

source§

impl<L: Len> Len for &L

source§

fn len(&self) -> usize

source§

impl<L: Len> Len for &mut L

source§

fn len(&self) -> usize

source§

impl<T> Len for &[T]

source§

fn len(&self) -> usize

source§

impl<T> Len for [T]

source§

fn len(&self) -> usize

source§

impl<T> Len for Vec<T>

source§

fn len(&self) -> usize

Implementors§

source§

impl Len for Jsons

source§

impl<BC: Len, VC> Len for Strings<BC, VC>

source§

impl<CC: CopyAs<u64> + Copy> Len for Empties<CC>

source§

impl<CV: Len> Len for Isizes<CV>

source§

impl<CV: Len> Len for Usizes<CV>

source§

impl<S> Len for Slice<S>

source§

impl<SC, TC, CC, VC: Len, WC: Copy + CopyAs<u64>> Len for Results<SC, TC, CC, VC, WC>

source§

impl<SC: Len, NC> Len for Durations<SC, NC>

source§

impl<T, CC, VC: Len, WC: Copy + CopyAs<u64>> Len for Options<T, CC, VC, WC>

source§

impl<TC, BC: Len> Len for Vecs<TC, BC>

source§

impl<TC, VC, const N: u8> Len for Lookbacks<TC, VC, N>

source§

impl<TC: Len, const N: u8> Len for Repeats<TC, N>

source§

impl<VC: Len, WC: Copy + CopyAs<u64>> Len for Bools<VC, WC>