#[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 Freeze for GMarkupParser
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)