Struct rute::auto::mime_data_ffi::RUMimeDataFuncs
source · #[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) -> bool
text: extern "C" fn(self_c: *const RUBase) -> *const c_char
set_text: extern "C" fn(self_c: *const RUBase, text: *const c_char)
has_text: extern "C" fn(self_c: *const RUBase) -> bool
html: extern "C" fn(self_c: *const RUBase) -> *const c_char
set_html: extern "C" fn(self_c: *const RUBase, html: *const c_char)
has_html: extern "C" fn(self_c: *const RUBase) -> bool
has_image: extern "C" fn(self_c: *const RUBase) -> bool
has_color: extern "C" fn(self_c: *const RUBase) -> bool
remove_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) -> bool
clear: extern "C" fn(self_c: *const RUBase)
Trait Implementations
sourceimpl Clone for RUMimeDataFuncs
impl Clone for RUMimeDataFuncs
sourcefn clone(&self) -> RUMimeDataFuncs
fn clone(&self) -> RUMimeDataFuncs
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for RUMimeDataFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUMimeDataFuncs
impl Send for RUMimeDataFuncs
impl Sync for RUMimeDataFuncs
impl Unpin for RUMimeDataFuncs
impl UnwindSafe for RUMimeDataFuncs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more