/// The size in bits for the members of this variant, excluding leading and trailing padding.
The size in bits for the members of this variant, excluding leading and trailing padding.
The size in bits for the members of this variant excluding leading and trailing padding .
pub fn bit_size(&self, hash: &FileHash) -> Option<u64> {
        let start = self.bit_offset();
        let mut end = start;
        for member in &self.members {
            let o = member.bit_offset();
            if let Some(size) = member.bit_size(hash) {
                if end < o + size {
                    end = o + size;
                }
            } else {
                return None;
            }
        }
        Some(end - start)
    }
pub fn bit_size ( & self , hash : & FileHash ) -> Option < u64 > { let start = self . bit_offset ( ) ; let mut end = start ; for member in & self . members { let o = member . bit_offset ( ) ; if let Some ( size ) = member . bit_size ( hash ) { if end < o + size { end = o + size ; } } else { return None ; } } Some ( end - start ) }
The size in bits for the members of this variant, excluding leading and trailing padding.
The size in bits for the members of this variant excluding leading and trailing padding .
&self
hash
&FileHash