pub fn min_height(self) -> Height {
        let r = self.get().trailing_zeros() as u8;
        r.try_into()
         .unwrap_or_else(|_| unsafe { unreachable_unchecked!() })
    }
/// Returns the minimum height tree within this length.
///
/// # Examples
///
/// ```
/// # use proofmarshal_core::collections::length::InnerLength;
/// # use proofmarshal_core::collections::height::Height;
/// assert_eq!(InnerLength::new(0b11).unwrap()
///                        .min_height(),
///            Height::new(0).unwrap());
///
/// assert_eq!(InnerLength::new(0b1100000000000000000000000000000000000000000000000000000000000000).unwrap()
///                        .min_height(),
///            Height::new(62).unwrap());
/// ```
Returns the minimum height tree within this length.
Returns the minimum height tree within this length .
pub fn min_height(self) -> Height {
        let r = self.get().trailing_zeros() as u8;
        r.try_into()
         .unwrap_or_else(|_| unsafe { unreachable_unchecked!() })
    }
pub fn min_height ( self ) -> Height { let r = self . get ( ) . trailing_zeros ( ) as u8 ; r . try_into ( ) . unwrap_or_else ( | _ | unsafe { unreachable_unchecked ! ( ) } ) }
Returns the minimum height tree within this length.
Returns the minimum height tree within this length .
self
examples
None
use proofmarshal_core::collections::length::innerlength;
None
use proofmarshal_core::collections::height::height;
assert_eq!(InnerLength::new(0b11).unwrap()
.min_height(),
Height::new(0).unwrap()).


assert_eq! ( InnerLength :: new ( 0b11 ) . unwrap () . min_height () Height :: new ( 0 ) . unwrap () ) .