Struct GMarkupParser
#[repr(C)]pub struct GMarkupParser {
pub start_element: Option<unsafe extern "C" fn(*mut GMarkupParseContext, *const i8, *mut *const i8, *mut *const i8, *mut c_void, *mut *mut GError)>,
pub end_element: Option<unsafe extern "C" fn(*mut GMarkupParseContext, *const i8, *mut c_void, *mut *mut GError)>,
pub text: Option<unsafe extern "C" fn(*mut GMarkupParseContext, *const i8, usize, *mut c_void, *mut *mut GError)>,
pub passthrough: Option<unsafe extern "C" fn(*mut GMarkupParseContext, *const i8, usize, *mut c_void, *mut *mut GError)>,
pub error: Option<unsafe extern "C" fn(*mut GMarkupParseContext, *mut GError, *mut c_void)>,
}Fields§
§start_element: Option<unsafe extern "C" fn(*mut GMarkupParseContext, *const i8, *mut *const i8, *mut *const i8, *mut c_void, *mut *mut GError)>§end_element: Option<unsafe extern "C" fn(*mut GMarkupParseContext, *const i8, *mut c_void, *mut *mut GError)>§text: Option<unsafe extern "C" fn(*mut GMarkupParseContext, *const i8, usize, *mut c_void, *mut *mut GError)>§passthrough: Option<unsafe extern "C" fn(*mut GMarkupParseContext, *const i8, usize, *mut c_void, *mut *mut GError)>§error: Option<unsafe extern "C" fn(*mut GMarkupParseContext, *mut GError, *mut c_void)>Trait Implementations§
§impl Clone for GMarkupParser
impl Clone for GMarkupParser
§fn clone(&self) -> GMarkupParser
fn clone(&self) -> GMarkupParser
Returns a duplicate 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§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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more