Struct nc::types::sysctl_args_t
source · [−]#[repr(C)]pub struct sysctl_args_t {
pub name: *mut i32,
pub nlen: i32,
pub oldval: usize,
pub oldlenp: *mut size_t,
pub newval: usize,
pub newlen: size_t,
/* private fields */
}Fields
name: *mut i32nlen: i32oldval: usizeoldlenp: *mut size_tnewval: usizenewlen: size_tTrait Implementations
sourceimpl Clone for sysctl_args_t
impl Clone for sysctl_args_t
sourcefn clone(&self) -> sysctl_args_t
fn clone(&self) -> sysctl_args_t
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for sysctl_args_t
Auto Trait Implementations
impl RefUnwindSafe for sysctl_args_t
impl !Send for sysctl_args_t
impl !Sync for sysctl_args_t
impl Unpin for sysctl_args_t
impl UnwindSafe for sysctl_args_t
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more