unsafe fn mut_from_ot_ptr<'a>(ptr: *mut Self::OtType) -> Option<&'a mut Self> {
        if ptr.is_null() {
            None
        } else {
            Some(&mut *(ptr as *mut Self))
        }
    }
/// Creates a mutable reference to a safe wrapper object from an OpenThread pointer.
///
/// ## Safety ##
///
/// This method is unsafe because it allows you to cast an arbitrary
/// pointer to a reference. When calling, care must be taken to ensure
/// the following is true:
///
/// 1. The given pointer points to a valid instance of `Self::OtType`.
/// 2. The given pointer is not `NULL`.
Creates a mutable reference to a safe wrapper object from an OpenThread pointer.
Creates a mutable reference to a safe wrapper object from an OpenThread pointer .
unsafe fn mut_from_ot_ptr<'a>(ptr: *mut Self::OtType) -> Option<&'a mut Self> {
        if ptr.is_null() {
            None
        } else {
            Some(&mut *(ptr as *mut Self))
        }
    }
unsafe fn mut_from_ot_ptr < ' a > ( ptr : * mut Self :: OtType ) -> Option < & ' a mut Self > { if ptr . is_null ( ) { None } else { Some ( & mut * ( ptr as * mut Self ) ) } }
Creates a mutable reference to a safe wrapper object from an OpenThread pointer.
Creates a mutable reference to a safe wrapper object from an OpenThread pointer .
ptr
*mut Self::OtType
ptr
*mut Self::OtType
safety 
This method is unsafe because it allows you to cast an arbitrary
pointer to a reference. When calling, care must be taken to ensure
the following is true.

1. The given pointer points to a valid instance of `Self::OtType`.
2. The given pointer is not `NULL`.
This method is unsafe because it allows you to cast an arbitrary pointer to a reference . When calling care must be taken to ensure the following is true . 1 . The given pointer points to a valid instance of ` Self :: OtType ` . 2 . The given pointer is not ` NULL ` .