pub fn byte_size(&self, hash: &FileHash) -> Option<u64> {
        if self.byte_size.is_some() {
            self.byte_size.get()
        } else if let (Some(ty), Some(count)) = (self.element_type(hash), self.count.get()) {
            ty.byte_size(hash).map(|v| v * count)
        } else {
            None
        }
    }
/// The size in bytes of an instance of this type.
The size in bytes of an instance of this type.
The size in bytes of an instance of this type .
pub fn byte_size(&self, hash: &FileHash) -> Option<u64> {
        if self.byte_size.is_some() {
            self.byte_size.get()
        } else if let (Some(ty), Some(count)) = (self.element_type(hash), self.count.get()) {
            ty.byte_size(hash).map(|v| v * count)
        } else {
            None
        }
    }
pub fn byte_size ( & self , hash : & FileHash ) -> Option < u64 > { if self . byte_size . is_some ( ) { self . byte_size . get ( ) } else if let ( Some ( ty ) , Some ( count ) ) = ( self . element_type ( hash ) , self . count . get ( ) ) { ty . byte_size ( hash ) . map ( | v | v * count ) } else { None } }
The size in bytes of an instance of this type.
The size in bytes of an instance of this type .
&self
hash
&FileHash
&self
hash
&FileHash