#[repr(C)]pub struct TCOD_parser_listener_t {
pub new_struct: Option<unsafe extern "C" fn(str: TCOD_parser_struct_t, name: *const c_char) -> bool_>,
pub new_flag: Option<unsafe extern "C" fn(name: *const c_char) -> bool_>,
pub new_property: Option<unsafe extern "C" fn(propname: *const c_char, type_: TCOD_value_type_t, value: TCOD_value_t) -> bool_>,
pub end_struct: Option<unsafe extern "C" fn(str: TCOD_parser_struct_t, name: *const c_char) -> bool_>,
pub error: Option<unsafe extern "C" fn(msg: *const c_char)>,
}
Fields§
§new_struct: Option<unsafe extern "C" fn(str: TCOD_parser_struct_t, name: *const c_char) -> bool_>
§new_flag: Option<unsafe extern "C" fn(name: *const c_char) -> bool_>
§new_property: Option<unsafe extern "C" fn(propname: *const c_char, type_: TCOD_value_type_t, value: TCOD_value_t) -> bool_>
§end_struct: Option<unsafe extern "C" fn(str: TCOD_parser_struct_t, name: *const c_char) -> bool_>
§error: Option<unsafe extern "C" fn(msg: *const c_char)>
Trait Implementations§
Source§impl Clone for TCOD_parser_listener_t
impl Clone for TCOD_parser_listener_t
Source§impl Debug for TCOD_parser_listener_t
impl Debug for TCOD_parser_listener_t
impl Copy for TCOD_parser_listener_t
Auto Trait Implementations§
impl Freeze for TCOD_parser_listener_t
impl RefUnwindSafe for TCOD_parser_listener_t
impl Send for TCOD_parser_listener_t
impl Sync for TCOD_parser_listener_t
impl Unpin for TCOD_parser_listener_t
impl UnwindSafe for TCOD_parser_listener_t
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