Struct gtk_sys::GtkToolShellIface
source · [−]#[repr(C)]pub struct GtkToolShellIface {
pub g_iface: GTypeInterface,
pub get_icon_size: Option<unsafe extern "C" fn(_: *mut GtkToolShell) -> GtkIconSize>,
pub get_orientation: Option<unsafe extern "C" fn(_: *mut GtkToolShell) -> GtkOrientation>,
pub get_style: Option<unsafe extern "C" fn(_: *mut GtkToolShell) -> GtkToolbarStyle>,
pub get_relief_style: Option<unsafe extern "C" fn(_: *mut GtkToolShell) -> GtkReliefStyle>,
pub rebuild_menu: Option<unsafe extern "C" fn(_: *mut GtkToolShell)>,
pub get_text_orientation: Option<unsafe extern "C" fn(_: *mut GtkToolShell) -> GtkOrientation>,
pub get_text_alignment: Option<unsafe extern "C" fn(_: *mut GtkToolShell) -> c_float>,
pub get_ellipsize_mode: Option<unsafe extern "C" fn(_: *mut GtkToolShell) -> PangoEllipsizeMode>,
pub get_text_size_group: Option<unsafe extern "C" fn(_: *mut GtkToolShell) -> *mut GtkSizeGroup>,
}
Fields
g_iface: GTypeInterface
get_icon_size: Option<unsafe extern "C" fn(_: *mut GtkToolShell) -> GtkIconSize>
get_orientation: Option<unsafe extern "C" fn(_: *mut GtkToolShell) -> GtkOrientation>
get_style: Option<unsafe extern "C" fn(_: *mut GtkToolShell) -> GtkToolbarStyle>
get_relief_style: Option<unsafe extern "C" fn(_: *mut GtkToolShell) -> GtkReliefStyle>
get_text_orientation: Option<unsafe extern "C" fn(_: *mut GtkToolShell) -> GtkOrientation>
get_text_alignment: Option<unsafe extern "C" fn(_: *mut GtkToolShell) -> c_float>
get_ellipsize_mode: Option<unsafe extern "C" fn(_: *mut GtkToolShell) -> PangoEllipsizeMode>
get_text_size_group: Option<unsafe extern "C" fn(_: *mut GtkToolShell) -> *mut GtkSizeGroup>
Trait Implementations
sourceimpl Clone for GtkToolShellIface
impl Clone for GtkToolShellIface
sourcefn clone(&self) -> GtkToolShellIface
fn clone(&self) -> GtkToolShellIface
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 GtkToolShellIface
impl Debug for GtkToolShellIface
impl Copy for GtkToolShellIface
Auto Trait Implementations
impl RefUnwindSafe for GtkToolShellIface
impl Send for GtkToolShellIface
impl Sync for GtkToolShellIface
impl Unpin for GtkToolShellIface
impl UnwindSafe for GtkToolShellIface
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