Struct libnotcurses_sys::c_api::ncsubproc_options
source · pub struct ncsubproc_options {
pub curry: *mut c_void,
pub restart_period: u64,
pub flags: u64,
}Fields§
§curry: *mut c_void§restart_period: u64restart this many seconds after an exit (watch)
flags: u64bitfield over NCOPTION_SUBPROC_*
Implementations§
Trait Implementations§
source§impl Clone for ncsubproc_options
impl Clone for ncsubproc_options
source§fn clone(&self) -> ncsubproc_options
fn clone(&self) -> ncsubproc_options
Returns a copy 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 ncsubproc_options
impl Debug for ncsubproc_options
source§impl Default for ncsubproc_options
impl Default for ncsubproc_options
source§impl Hash for ncsubproc_options
impl Hash for ncsubproc_options
source§impl Ord for ncsubproc_options
impl Ord for ncsubproc_options
source§fn cmp(&self, other: &ncsubproc_options) -> Ordering
fn cmp(&self, other: &ncsubproc_options) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<ncsubproc_options> for ncsubproc_options
impl PartialEq<ncsubproc_options> for ncsubproc_options
source§fn eq(&self, other: &ncsubproc_options) -> bool
fn eq(&self, other: &ncsubproc_options) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<ncsubproc_options> for ncsubproc_options
impl PartialOrd<ncsubproc_options> for ncsubproc_options
source§fn partial_cmp(&self, other: &ncsubproc_options) -> Option<Ordering>
fn partial_cmp(&self, other: &ncsubproc_options) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more