#[repr(C)]
pub struct _JsonParserClass {
Show 18 fields pub parent_class: GObjectClass, pub parse_start: Option<unsafe extern "C" fn(parser: *mut JsonParser)>, pub object_start: Option<unsafe extern "C" fn(parser: *mut JsonParser)>, pub object_member: Option<unsafe extern "C" fn(parser: *mut JsonParser, object: *mut JsonObject, member_name: *const gchar)>, pub object_end: Option<unsafe extern "C" fn(parser: *mut JsonParser, object: *mut JsonObject)>, pub array_start: Option<unsafe extern "C" fn(parser: *mut JsonParser)>, pub array_element: Option<unsafe extern "C" fn(parser: *mut JsonParser, array: *mut JsonArray, index_: gint)>, pub array_end: Option<unsafe extern "C" fn(parser: *mut JsonParser, array: *mut JsonArray)>, pub parse_end: Option<unsafe extern "C" fn(parser: *mut JsonParser)>, pub error: Option<unsafe extern "C" fn(parser: *mut JsonParser, error: *const GError)>, pub _json_reserved1: Option<unsafe extern "C" fn()>, pub _json_reserved2: Option<unsafe extern "C" fn()>, pub _json_reserved3: Option<unsafe extern "C" fn()>, pub _json_reserved4: Option<unsafe extern "C" fn()>, pub _json_reserved5: Option<unsafe extern "C" fn()>, pub _json_reserved6: Option<unsafe extern "C" fn()>, pub _json_reserved7: Option<unsafe extern "C" fn()>, pub _json_reserved8: Option<unsafe extern "C" fn()>,
}

Fields

parent_class: GObjectClassparse_start: Option<unsafe extern "C" fn(parser: *mut JsonParser)>object_start: Option<unsafe extern "C" fn(parser: *mut JsonParser)>object_member: Option<unsafe extern "C" fn(parser: *mut JsonParser, object: *mut JsonObject, member_name: *const gchar)>object_end: Option<unsafe extern "C" fn(parser: *mut JsonParser, object: *mut JsonObject)>array_start: Option<unsafe extern "C" fn(parser: *mut JsonParser)>array_element: Option<unsafe extern "C" fn(parser: *mut JsonParser, array: *mut JsonArray, index_: gint)>array_end: Option<unsafe extern "C" fn(parser: *mut JsonParser, array: *mut JsonArray)>parse_end: Option<unsafe extern "C" fn(parser: *mut JsonParser)>error: Option<unsafe extern "C" fn(parser: *mut JsonParser, error: *const GError)>_json_reserved1: Option<unsafe extern "C" fn()>_json_reserved2: Option<unsafe extern "C" fn()>_json_reserved3: Option<unsafe extern "C" fn()>_json_reserved4: Option<unsafe extern "C" fn()>_json_reserved5: Option<unsafe extern "C" fn()>_json_reserved6: Option<unsafe extern "C" fn()>_json_reserved7: Option<unsafe extern "C" fn()>_json_reserved8: Option<unsafe extern "C" fn()>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.