pub fn elements(&self) -> usize {
        match self {
            MultiType::Scalar(_) => 1,

            // FIXME: this may not always be right
            MultiType::Vec(_, n) => *n,
            &MultiType::Mat(_, w, h) => w * h,
        }
    }
/// The number of elements in this data type
The number of elements in this data type
The number of elements in this data type
pub fn elements(&self) -> usize {
        match self {
            MultiType::Scalar(_) => 1,
            // FIXME: this may not always be right
            MultiType::Vec(_, n) => *n,
            &MultiType::Mat(_, w, h) => w * h,
        }
    }
pub fn elements ( & self ) -> usize { match self { MultiType :: Scalar ( _ ) => 1 , // FIXME: this may not always be right MultiType :: Vec ( _ , n ) => * n , & MultiType :: Mat ( _ , w , h ) => w * h , } }
The number of elements in this data type
The number of elements in this data type
&self
&self