#[repr(C)]
pub struct RUMimeDataFuncs {
Show 13 fields pub destroy: extern "C" fn(self_c: *const RUBase), pub has_urls: extern "C" fn(self_c: *const RUBase) -> bool, pub text: extern "C" fn(self_c: *const RUBase) -> *const c_char, pub set_text: extern "C" fn(self_c: *const RUBase, text: *const c_char), pub has_text: extern "C" fn(self_c: *const RUBase) -> bool, pub html: extern "C" fn(self_c: *const RUBase) -> *const c_char, pub set_html: extern "C" fn(self_c: *const RUBase, html: *const c_char), pub has_html: extern "C" fn(self_c: *const RUBase) -> bool, pub has_image: extern "C" fn(self_c: *const RUBase) -> bool, pub has_color: extern "C" fn(self_c: *const RUBase) -> bool, pub remove_format: extern "C" fn(self_c: *const RUBase, mimetype: *const c_char), pub has_format: extern "C" fn(self_c: *const RUBase, mimetype: *const c_char) -> bool, pub clear: extern "C" fn(self_c: *const RUBase),
}

Fields

destroy: extern "C" fn(self_c: *const RUBase)has_urls: extern "C" fn(self_c: *const RUBase) -> booltext: extern "C" fn(self_c: *const RUBase) -> *const c_charset_text: extern "C" fn(self_c: *const RUBase, text: *const c_char)has_text: extern "C" fn(self_c: *const RUBase) -> boolhtml: extern "C" fn(self_c: *const RUBase) -> *const c_charset_html: extern "C" fn(self_c: *const RUBase, html: *const c_char)has_html: extern "C" fn(self_c: *const RUBase) -> boolhas_image: extern "C" fn(self_c: *const RUBase) -> boolhas_color: extern "C" fn(self_c: *const RUBase) -> boolremove_format: extern "C" fn(self_c: *const RUBase, mimetype: *const c_char)has_format: extern "C" fn(self_c: *const RUBase, mimetype: *const c_char) -> boolclear: extern "C" fn(self_c: *const RUBase)

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.