Struct glib_sys::GMarkupParser
source · #[repr(C)]pub struct GMarkupParser {
pub start_element: Option<unsafe extern "C" fn(_: *mut GMarkupParseContext, _: *const c_char, _: *mut *const c_char, _: *mut *const c_char, _: gpointer, _: *mut *mut GError)>,
pub end_element: Option<unsafe extern "C" fn(_: *mut GMarkupParseContext, _: *const c_char, _: gpointer, _: *mut *mut GError)>,
pub text: Option<unsafe extern "C" fn(_: *mut GMarkupParseContext, _: *const c_char, _: size_t, _: gpointer, _: *mut *mut GError)>,
pub passthrough: Option<unsafe extern "C" fn(_: *mut GMarkupParseContext, _: *const c_char, _: size_t, _: gpointer, _: *mut *mut GError)>,
pub error: Option<unsafe extern "C" fn(_: *mut GMarkupParseContext, _: *mut GError, _: gpointer)>,
}
Fields§
§start_element: Option<unsafe extern "C" fn(_: *mut GMarkupParseContext, _: *const c_char, _: *mut *const c_char, _: *mut *const c_char, _: gpointer, _: *mut *mut GError)>
§end_element: Option<unsafe extern "C" fn(_: *mut GMarkupParseContext, _: *const c_char, _: gpointer, _: *mut *mut GError)>
§text: Option<unsafe extern "C" fn(_: *mut GMarkupParseContext, _: *const c_char, _: size_t, _: gpointer, _: *mut *mut GError)>
§passthrough: Option<unsafe extern "C" fn(_: *mut GMarkupParseContext, _: *const c_char, _: size_t, _: gpointer, _: *mut *mut GError)>
§error: Option<unsafe extern "C" fn(_: *mut GMarkupParseContext, _: *mut GError, _: gpointer)>
Trait Implementations§
source§impl Clone for GMarkupParser
impl Clone for GMarkupParser
source§fn clone(&self) -> GMarkupParser
fn clone(&self) -> GMarkupParser
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more