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
sourceimpl Clone for GMarkupParser
impl Clone for GMarkupParser
sourcefn clone(&self) -> GMarkupParser
fn clone(&self) -> GMarkupParser
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 more
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more