Struct appindicator3_sys::AppIndicatorClass
source · [−]#[repr(C)]pub struct AppIndicatorClass {Show 17 fields
pub parent_class: GObjectClass,
pub new_icon: Option<unsafe extern "C" fn(_: *mut AppIndicator, _: gpointer)>,
pub new_attention_icon: Option<unsafe extern "C" fn(_: *mut AppIndicator, _: gpointer)>,
pub new_status: Option<unsafe extern "C" fn(_: *mut AppIndicator, _: *const c_char, _: gpointer)>,
pub new_icon_theme_path: Option<unsafe extern "C" fn(_: *mut AppIndicator, _: *const c_char, _: gpointer)>,
pub new_label: Option<unsafe extern "C" fn(_: *mut AppIndicator, _: *const c_char, _: *const c_char, _: gpointer)>,
pub connection_changed: Option<unsafe extern "C" fn(_: *mut AppIndicator, _: gboolean, _: gpointer)>,
pub scroll_event: Option<unsafe extern "C" fn(_: *mut AppIndicator, _: c_int, _: GdkScrollDirection, _: gpointer)>,
pub app_indicator_reserved_ats: Option<unsafe extern "C" fn()>,
pub fallback: Option<unsafe extern "C" fn(_: *mut AppIndicator) -> *mut GtkStatusIcon>,
pub unfallback: Option<unsafe extern "C" fn(_: *mut AppIndicator, _: *mut GtkStatusIcon)>,
pub app_indicator_reserved_1: Option<unsafe extern "C" fn()>,
pub app_indicator_reserved_2: Option<unsafe extern "C" fn()>,
pub app_indicator_reserved_3: Option<unsafe extern "C" fn()>,
pub app_indicator_reserved_4: Option<unsafe extern "C" fn()>,
pub app_indicator_reserved_5: Option<unsafe extern "C" fn()>,
pub app_indicator_reserved_6: Option<unsafe extern "C" fn()>,
}Fields
parent_class: GObjectClassnew_icon: Option<unsafe extern "C" fn(_: *mut AppIndicator, _: gpointer)>new_attention_icon: Option<unsafe extern "C" fn(_: *mut AppIndicator, _: gpointer)>new_status: Option<unsafe extern "C" fn(_: *mut AppIndicator, _: *const c_char, _: gpointer)>new_icon_theme_path: Option<unsafe extern "C" fn(_: *mut AppIndicator, _: *const c_char, _: gpointer)>new_label: Option<unsafe extern "C" fn(_: *mut AppIndicator, _: *const c_char, _: *const c_char, _: gpointer)>connection_changed: Option<unsafe extern "C" fn(_: *mut AppIndicator, _: gboolean, _: gpointer)>scroll_event: Option<unsafe extern "C" fn(_: *mut AppIndicator, _: c_int, _: GdkScrollDirection, _: gpointer)>app_indicator_reserved_ats: Option<unsafe extern "C" fn()>fallback: Option<unsafe extern "C" fn(_: *mut AppIndicator) -> *mut GtkStatusIcon>unfallback: Option<unsafe extern "C" fn(_: *mut AppIndicator, _: *mut GtkStatusIcon)>app_indicator_reserved_1: Option<unsafe extern "C" fn()>app_indicator_reserved_2: Option<unsafe extern "C" fn()>app_indicator_reserved_3: Option<unsafe extern "C" fn()>app_indicator_reserved_4: Option<unsafe extern "C" fn()>app_indicator_reserved_5: Option<unsafe extern "C" fn()>app_indicator_reserved_6: Option<unsafe extern "C" fn()>Trait Implementations
sourceimpl Clone for AppIndicatorClass
impl Clone for AppIndicatorClass
sourcefn clone(&self) -> AppIndicatorClass
fn clone(&self) -> AppIndicatorClass
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 AppIndicatorClass
impl Debug for AppIndicatorClass
impl Copy for AppIndicatorClass
Auto Trait Implementations
impl RefUnwindSafe for AppIndicatorClass
impl !Send for AppIndicatorClass
impl !Sync for AppIndicatorClass
impl Unpin for AppIndicatorClass
impl UnwindSafe for AppIndicatorClass
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