///
/// Returns a string if the data stored in the object is HTML (MIME
/// type `text/html);` otherwise returns an empty string.
///
/// **See also:** [`has_html()`]
/// [`set_data()`]
Returns a string if the data stored in the object is HTML (MIME
type `text/html);` otherwise returns an empty string.


Returns a string if the data stored in the object is HTML ( MIME type ` text / html ) ; ` otherwise returns an empty string .
pub fn html(&self) -> String {
        let (obj_data, funcs) = self.get_mime_data_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).html)(obj_data);
            let ret_val = CStr::from_ptr(ret_val).to_string_lossy().into_owned();
            ret_val
        }
    }
pub fn html ( & self ) -> String { let ( obj_data , funcs ) = self . get_mime_data_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . html ) ( obj_data ) ; let ret_val = CStr :: from_ptr ( ret_val ) . to_string_lossy ( ) . into_owned ( ) ; ret_val } }
Returns a string if the data stored in the object is HTML (MIME
type `text/html);` otherwise returns an empty string.
Returns a string if the data stored in the object is HTML ( MIME type ` text / html ) ; ` otherwise returns an empty string .
&self