Struct gio_sys::GActionInterface[][src]

#[repr(C)]
pub struct GActionInterface { pub g_iface: GTypeInterface, pub get_name: Option<unsafe extern "C" fn(_: *mut GAction) -> *const c_char>, pub get_parameter_type: Option<unsafe extern "C" fn(_: *mut GAction) -> *const GVariantType>, pub get_state_type: Option<unsafe extern "C" fn(_: *mut GAction) -> *const GVariantType>, pub get_state_hint: Option<unsafe extern "C" fn(_: *mut GAction) -> *mut GVariant>, pub get_enabled: Option<unsafe extern "C" fn(_: *mut GAction) -> gboolean>, pub get_state: Option<unsafe extern "C" fn(_: *mut GAction) -> *mut GVariant>, pub change_state: Option<unsafe extern "C" fn(_: *mut GAction, _: *mut GVariant)>, pub activate: Option<unsafe extern "C" fn(_: *mut GAction, _: *mut GVariant)>, }

Fields

g_iface: GTypeInterfaceget_name: Option<unsafe extern "C" fn(_: *mut GAction) -> *const c_char>get_parameter_type: Option<unsafe extern "C" fn(_: *mut GAction) -> *const GVariantType>get_state_type: Option<unsafe extern "C" fn(_: *mut GAction) -> *const GVariantType>get_state_hint: Option<unsafe extern "C" fn(_: *mut GAction) -> *mut GVariant>get_enabled: Option<unsafe extern "C" fn(_: *mut GAction) -> gboolean>get_state: Option<unsafe extern "C" fn(_: *mut GAction) -> *mut GVariant>change_state: Option<unsafe extern "C" fn(_: *mut GAction, _: *mut GVariant)>activate: Option<unsafe extern "C" fn(_: *mut GAction, _: *mut GVariant)>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.