#[repr(C)]pub struct ucl_emitter_functions {
pub ucl_emitter_append_character: Option<unsafe extern "C" fn(c: c_uchar, nchars: usize, ud: *mut c_void) -> c_int>,
pub ucl_emitter_append_len: Option<unsafe extern "C" fn(str_: *const c_uchar, len: usize, ud: *mut c_void) -> c_int>,
pub ucl_emitter_append_int: Option<unsafe extern "C" fn(elt: i64, ud: *mut c_void) -> c_int>,
pub ucl_emitter_append_double: Option<unsafe extern "C" fn(elt: f64, ud: *mut c_void) -> c_int>,
pub ucl_emitter_free_func: Option<unsafe extern "C" fn(ud: *mut c_void)>,
pub ud: *mut c_void,
}Fields§
§ucl_emitter_append_character: Option<unsafe extern "C" fn(c: c_uchar, nchars: usize, ud: *mut c_void) -> c_int>§ucl_emitter_append_len: Option<unsafe extern "C" fn(str_: *const c_uchar, len: usize, ud: *mut c_void) -> c_int>§ucl_emitter_append_int: Option<unsafe extern "C" fn(elt: i64, ud: *mut c_void) -> c_int>§ucl_emitter_append_double: Option<unsafe extern "C" fn(elt: f64, ud: *mut c_void) -> c_int>§ucl_emitter_free_func: Option<unsafe extern "C" fn(ud: *mut c_void)>§ud: *mut c_voidTrait Implementations§
Source§impl Clone for ucl_emitter_functions
impl Clone for ucl_emitter_functions
impl Copy for ucl_emitter_functions
Auto Trait Implementations§
impl !Send for ucl_emitter_functions
impl !Sync for ucl_emitter_functions
impl Freeze for ucl_emitter_functions
impl RefUnwindSafe for ucl_emitter_functions
impl Unpin for ucl_emitter_functions
impl UnsafeUnpin for ucl_emitter_functions
impl UnwindSafe for ucl_emitter_functions
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