Struct gtk_sys::GtkRcStyle
source · [−]#[repr(C)]pub struct GtkRcStyle {Show 15 fields
pub parent_instance: GObject,
pub name: *mut c_char,
pub bg_pixmap_name: [*mut c_char; 5],
pub font_desc: *mut PangoFontDescription,
pub color_flags: [GtkRcFlags; 5],
pub fg: [GdkColor; 5],
pub bg: [GdkColor; 5],
pub text: [GdkColor; 5],
pub base: [GdkColor; 5],
pub xthickness: c_int,
pub ythickness: c_int,
pub rc_properties: *mut GArray,
pub rc_style_lists: *mut GSList,
pub icon_factories: *mut GSList,
pub engine_specified: c_uint,
}
Fields
parent_instance: GObject
name: *mut c_char
bg_pixmap_name: [*mut c_char; 5]
font_desc: *mut PangoFontDescription
color_flags: [GtkRcFlags; 5]
fg: [GdkColor; 5]
bg: [GdkColor; 5]
text: [GdkColor; 5]
base: [GdkColor; 5]
xthickness: c_int
ythickness: c_int
rc_properties: *mut GArray
rc_style_lists: *mut GSList
icon_factories: *mut GSList
engine_specified: c_uint
Trait Implementations
sourceimpl Clone for GtkRcStyle
impl Clone for GtkRcStyle
sourcefn clone(&self) -> GtkRcStyle
fn clone(&self) -> GtkRcStyle
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 GtkRcStyle
impl Debug for GtkRcStyle
impl Copy for GtkRcStyle
Auto Trait Implementations
impl RefUnwindSafe for GtkRcStyle
impl !Send for GtkRcStyle
impl !Sync for GtkRcStyle
impl Unpin for GtkRcStyle
impl UnwindSafe for GtkRcStyle
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