#[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: AddImageIndexFn
Trait 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 moreAuto Trait Implementations§
impl Freeze for DiskControlCallback
impl RefUnwindSafe for DiskControlCallback
impl Send for DiskControlCallback
impl Sync for DiskControlCallback
impl Unpin for DiskControlCallback
impl UnwindSafe for DiskControlCallback
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more