#[repr(C)]pub struct _GParamSpecOverride {
pub parent_instance: GParamSpec,
pub overridden: *mut GParamSpec,
}
Expand description
GParamSpecOverride:
A #GParamSpec derived structure that redirects operations to other types of #GParamSpec.
All operations other than getting or setting the value are redirected, including accessing the nick and blurb, validating a value, and so forth.
See g_param_spec_get_redirect_target() for retrieving the overridden property. #GParamSpecOverride is used in implementing g_object_class_override_property(), and will not be directly useful unless you are implementing a new base type similar to GObject.
Since: 2.4
Fields§
§parent_instance: GParamSpec
§overridden: *mut GParamSpec
Trait Implementations§
Source§impl Clone for _GParamSpecOverride
impl Clone for _GParamSpecOverride
Source§fn clone(&self) -> _GParamSpecOverride
fn clone(&self) -> _GParamSpecOverride
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for _GParamSpecOverride
impl Debug for _GParamSpecOverride
Source§impl PartialEq for _GParamSpecOverride
impl PartialEq for _GParamSpecOverride
impl Copy for _GParamSpecOverride
impl Eq for _GParamSpecOverride
impl StructuralPartialEq for _GParamSpecOverride
Auto Trait Implementations§
impl Freeze for _GParamSpecOverride
impl RefUnwindSafe for _GParamSpecOverride
impl !Send for _GParamSpecOverride
impl !Sync for _GParamSpecOverride
impl Unpin for _GParamSpecOverride
impl UnwindSafe for _GParamSpecOverride
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more