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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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