/// Return the array size that an opaque type for this layout should have if
/// we know the correct type for it, or `None` otherwise.
Return the array size that an opaque type for this layout should have if
we know the correct type for it, or `None` otherwise.
Return the array size that an opaque type for this layout should have if we know the correct type for it or ` None ` otherwise .
pub fn array_size(&self) -> Option<usize> {
        if self.known_rust_type_for_array().is_some() {
            Some(self.0.size / cmp::max(self.0.align, 1))
        } else {
            None
        }
    }
pub fn array_size ( & self ) -> Option < usize > { if self . known_rust_type_for_array ( ) . is_some ( ) { Some ( self . 0 . size / cmp :: max ( self . 0 . align , 1 ) ) } else { None } }
Return the array size that an opaque type for this layout should have if
we know the correct type for it, or `None` otherwise.
Return the array size that an opaque type for this layout should have if we know the correct type for it or ` None ` otherwise .
&self