#[repr(C)]pub struct DiskControlCallback {
pub set_eject_state: SetEjectStateFn,
pub get_eject_state: GetEjectStateFn,
pub get_image_index: GetImageIndexFn,
pub set_image_index: SetImageIndexFn,
pub get_num_images: GetNumImagesFn,
pub replace_image_index: ReplaceImageIndexFn,
pub add_image_index: AddImageIndexFn,
}Fields§
§set_eject_state: SetEjectStateFn§get_eject_state: GetEjectStateFn§get_image_index: GetImageIndexFn§set_image_index: SetImageIndexFn§get_num_images: GetNumImagesFn§replace_image_index: ReplaceImageIndexFn§add_image_index: AddImageIndexFnTrait Implementations§
source§impl Clone for DiskControlCallback
impl Clone for DiskControlCallback
source§fn clone(&self) -> DiskControlCallback
fn clone(&self) -> DiskControlCallback
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