Skip to main content

WslcInstallCallback

Type Alias WslcInstallCallback 

Source
pub type WslcInstallCallback = Option<unsafe extern "system" fn(component: WslcComponentFlags, progress_steps: u32, total_steps: u32, context: *mut c_void)>;
Expand description

组件依赖安装进度回调

Aliased Type§

pub enum WslcInstallCallback {
    None,
    Some(unsafe extern "system" fn(u32, u32, u32, *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "system" fn(u32, u32, u32, *mut c_void))

Some value of type T.