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 moresource§impl Debug for GMarkupParser
impl Debug for GMarkupParser
impl Copy for GMarkupParser
Auto Trait Implementations§
impl RefUnwindSafe for GMarkupParser
impl Send for GMarkupParser
impl Sync for GMarkupParser
impl Unpin for GMarkupParser
impl UnwindSafe for GMarkupParser
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more