#[repr(C)]pub struct uci_backend {
pub e: uci_element,
pub list_configs: Option<unsafe extern "C" fn(ctx: *mut uci_context) -> *mut *mut c_char>,
pub load: Option<unsafe extern "C" fn(ctx: *mut uci_context, name: *const c_char) -> *mut uci_package>,
pub commit: Option<unsafe extern "C" fn(ctx: *mut uci_context, p: *mut *mut uci_package, overwrite: bool)>,
pub ptr: *const c_void,
pub priv_: *mut c_void,
}Fields§
§e: uci_element§list_configs: Option<unsafe extern "C" fn(ctx: *mut uci_context) -> *mut *mut c_char>§load: Option<unsafe extern "C" fn(ctx: *mut uci_context, name: *const c_char) -> *mut uci_package>§commit: Option<unsafe extern "C" fn(ctx: *mut uci_context, p: *mut *mut uci_package, overwrite: bool)>§ptr: *const c_void§priv_: *mut c_voidTrait Implementations§
Source§impl Clone for uci_backend
impl Clone for uci_backend
Source§fn clone(&self) -> uci_backend
fn clone(&self) -> uci_backend
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 moreSource§impl Debug for uci_backend
impl Debug for uci_backend
impl Copy for uci_backend
Auto Trait Implementations§
impl Freeze for uci_backend
impl RefUnwindSafe for uci_backend
impl !Send for uci_backend
impl !Sync for uci_backend
impl Unpin for uci_backend
impl UnwindSafe for uci_backend
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