/// Obtain the underlying `bool` if it is a boolean.
Obtain the underlying `bool` if it is a boolean.
Obtain the underlying ` bool ` if it is a boolean .
pub fn unpack_bool(self) -> Option<bool> {
        let p = self.0.ptr_value();
        if p == cast::ptr_to_usize(VALUE_TRUE) {
            Some(true)
        } else if p == cast::ptr_to_usize(VALUE_FALSE) {
            Some(false)
        } else {
            None
        }
    }
pub fn unpack_bool ( self ) -> Option < bool > { let p = self . 0 . ptr_value ( ) ; if p == cast :: ptr_to_usize ( VALUE_TRUE ) { Some ( true ) } else if p == cast :: ptr_to_usize ( VALUE_FALSE ) { Some ( false ) } else { None } }
Obtain the underlying `bool` if it is a boolean.
Obtain the underlying ` bool ` if it is a boolean .
self