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 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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)