/// The number of elements in the array.
The number of elements in the array.
The number of elements in the array .
pub fn count(&self, hash: &FileHash) -> Option<u64> {
        if self.count.is_some() {
            self.count.get()
        } else if let (Some(ty), Some(byte_size)) = (self.element_type(hash), self.byte_size.get())
        {
            ty.byte_size(hash).map(|v| byte_size / v)
        } else {
            None
        }
    }
pub fn count ( & self , hash : & FileHash ) -> Option < u64 > { if self . count . is_some ( ) { self . count . get ( ) } else if let ( Some ( ty ) , Some ( byte_size ) ) = ( self . element_type ( hash ) , self . byte_size . get ( ) ) { ty . byte_size ( hash ) . map ( | v | byte_size / v ) } else { None } }
The number of elements in the array.
The number of elements in the array .
&self
hash
&FileHash