Trait flatdata::VariadicRef
source · pub trait VariadicRef: Clone + Debug + PartialEq {
// Required method
fn size_in_bytes(&self) -> usize;
}
Expand description
A type used as element of MultiArrayView
.
Implemented by an enum type.
Required Methods§
sourcefn size_in_bytes(&self) -> usize
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.