Struct machinery_api::foundation::OsSystemApi [−][src]
#[repr(C)]pub struct OsSystemApi { pub open_url: Option<unsafe extern "C" fn(url: *const c_char)>, pub open_file: Option<unsafe extern "C" fn(file: *const c_char) -> bool>, pub exe_path: Option<unsafe extern "C" fn(argv_0: *const c_char) -> *const c_char>, pub execute: Option<unsafe extern "C" fn(command: *const c_char) -> c_int>, pub execute_in_background: Option<unsafe extern "C" fn(command: *const c_char) -> c_int>, pub execute_stdout: Option<unsafe extern "C" fn(command: *const c_char, timeout_ms: u32, ta: *mut TempAllocatorI, exit_code: *mut c_int) -> *mut c_char>, }
Fields
open_url: Option<unsafe extern "C" fn(url: *const c_char)>open_file: Option<unsafe extern "C" fn(file: *const c_char) -> bool>exe_path: Option<unsafe extern "C" fn(argv_0: *const c_char) -> *const c_char>execute: Option<unsafe extern "C" fn(command: *const c_char) -> c_int>execute_in_background: Option<unsafe extern "C" fn(command: *const c_char) -> c_int>execute_stdout: Option<unsafe extern "C" fn(command: *const c_char, timeout_ms: u32, ta: *mut TempAllocatorI, exit_code: *mut c_int) -> *mut c_char>Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for OsSystemApi
impl Send for OsSystemApi
impl Sync for OsSystemApi
impl Unpin for OsSystemApi
impl UnwindSafe for OsSystemApi
Blanket Implementations
Mutably borrows from an owned value. Read more