pub const fn max_len() -> usize {
        let max_len = core::isize::MAX as usize;
        let max_len_calc = {
            let (esize, ealign) = size_align::<E>(1);
            let lsize = aligned_size::<L>(ealign);
            safe_div(max_len - lsize, esize)
        };
        cond(mem::size_of::<E>() == 0, max_len, max_len_calc)
    }
/// Get the maximum length of a `MemBlock`, based on the types that it contains.
///
/// This function is used to maintain the invariant that all `MemBlock` instances
/// are of size (in bytes) less than or equal to `core::isize::MAX`.
Get the maximum length of a `MemBlock`, based on the types that it contains.
This function is used to maintain the invariant that all `MemBlock` instances
are of size (in bytes) less than or equal to `core::isize::MAX`.
Get the maximum length of a ` MemBlock ` based on the types that it contains . This function is used to maintain the invariant that all ` MemBlock ` instances are of size ( in bytes ) less than or equal to ` core :: isize :: MAX ` .
pub const fn max_len() -> usize {
        let max_len = core::isize::MAX as usize;
        let max_len_calc = {
            let (esize, ealign) = size_align::<E>(1);
            let lsize = aligned_size::<L>(ealign);
            safe_div(max_len - lsize, esize)
        };
        cond(mem::size_of::<E>() == 0, max_len, max_len_calc)
    }
pub const fn max_len ( ) -> usize { let max_len = core :: isize :: MAX as usize ; let max_len_calc = { let ( esize , ealign ) = size_align :: < E > ( 1 ) ; let lsize = aligned_size :: < L > ( ealign ) ; safe_div ( max_len - lsize , esize ) } ; cond ( mem :: size_of :: < E > ( ) == 0 , max_len , max_len_calc ) }
Get the maximum length of a `MemBlock`, based on the types that it contains.
Get the maximum length of a ` MemBlock ` based on the types that it contains .