Struct librgbmatrix_sys::RGBLedRuntimeOptions
source · #[repr(C)]pub struct RGBLedRuntimeOptions {
pub gpio_slowdown: c_int,
pub daemon: c_int,
pub drop_privileges: c_int,
pub do_gpio_init: bool,
pub drop_priv_user: *const c_char,
pub drop_priv_group: *const c_char,
}
Expand description
Runtime options to simplify doing common things for many programs such as dropping privileges and becoming a daemon.
Fields§
§gpio_slowdown: c_int
§daemon: c_int
§drop_privileges: c_int
§do_gpio_init: bool
§drop_priv_user: *const c_char
§drop_priv_group: *const c_char
Trait Implementations§
source§impl Clone for RGBLedRuntimeOptions
impl Clone for RGBLedRuntimeOptions
source§fn clone(&self) -> RGBLedRuntimeOptions
fn clone(&self) -> RGBLedRuntimeOptions
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 more