Struct gio_sys::GNativeVolumeMonitorClass
source · [−]#[repr(C)]pub struct GNativeVolumeMonitorClass {
pub parent_class: GVolumeMonitorClass,
pub get_mount_for_mount_path: Option<unsafe extern "C" fn(_: *const c_char, _: *mut GCancellable) -> *mut GMount>,
}
Fields
parent_class: GVolumeMonitorClass
get_mount_for_mount_path: Option<unsafe extern "C" fn(_: *const c_char, _: *mut GCancellable) -> *mut GMount>
Trait Implementations
sourceimpl Clone for GNativeVolumeMonitorClass
impl Clone for GNativeVolumeMonitorClass
sourcefn clone(&self) -> GNativeVolumeMonitorClass
fn clone(&self) -> GNativeVolumeMonitorClass
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GNativeVolumeMonitorClass
impl Debug for GNativeVolumeMonitorClass
impl Copy for GNativeVolumeMonitorClass
Auto Trait Implementations
impl RefUnwindSafe for GNativeVolumeMonitorClass
impl !Send for GNativeVolumeMonitorClass
impl !Sync for GNativeVolumeMonitorClass
impl Unpin for GNativeVolumeMonitorClass
impl UnwindSafe for GNativeVolumeMonitorClass
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more