Struct libuci_sys::uci_backend [−][src]
#[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_void
Trait Implementations
impl Clone for uci_backend
[src]
impl Clone for uci_backend
[src]fn clone(&self) -> uci_backend
[src]
fn clone(&self) -> uci_backend
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for uci_backend
[src]
impl Debug for uci_backend
[src]impl Copy for uci_backend
[src]
Auto Trait Implementations
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more