[][src]Trait flatdata::VariadicRef

pub trait VariadicRef: Clone + Debug + PartialEq {
    fn size_in_bytes(&self) -> usize;
}

A type used as element of MultiArrayView.

Implemented by an enum type.

Required methods

fn size_in_bytes(&self) -> usize

Returns size in bytes of the current variant type.

Since a variadic struct can contain types of different sized, this is a method based on the current value type.

Loading content...

Implementors

Loading content...