Struct gtk4::ParamSpecExpression
source · [−]#[repr(transparent)]pub struct ParamSpecExpression { /* private fields */ }
Implementations
sourceimpl ParamSpecExpression
impl ParamSpecExpression
pub fn new(name: &str, nick: &str, blurb: &str, flags: ParamFlags) -> ParamSpec
sourcepub fn builder(name: &str) -> ParamSpecExpressionBuilder<'_>
pub fn builder(name: &str) -> ParamSpecExpressionBuilder<'_>
Creates a new builder-pattern struct instance to construct ParamSpecExpression
objects.
This method returns an instance of ParamSpecExpressionBuilder
which can be used to create ParamSpecExpression
objects.
pub fn upcast(self) -> ParamSpec
pub fn upcast_ref(&self) -> &ParamSpec
Methods from Deref<Target = ParamSpec>
pub fn downcast_ref<T>(&self) -> Option<&T> where
T: ParamSpecType,
pub fn type_(&self) -> Type
pub fn value_type(&self) -> Type
pub fn owner_type(&self) -> Type
pub fn flags(&self) -> ParamFlags
pub fn blurb(&self) -> &str
pub fn default_value(&self) -> &Value
pub fn name<'a>(&self) -> &'a str
pub fn name_quark(&self) -> Quark
pub fn nick(&self) -> &str
pub fn redirect_target(&self) -> Option<ParamSpec>
Trait Implementations
sourceimpl Clone for ParamSpecExpression
impl Clone for ParamSpecExpression
sourceimpl Debug for ParamSpecExpression
impl Debug for ParamSpecExpression
sourceimpl Deref for ParamSpecExpression
impl Deref for ParamSpecExpression
sourceimpl Display for ParamSpecExpression
impl Display for ParamSpecExpression
sourceimpl StaticType for ParamSpecExpression
impl StaticType for ParamSpecExpression
sourcefn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
impl ParamSpecType for ParamSpecExpression
impl Send for ParamSpecExpression
impl Sync for ParamSpecExpression
Auto Trait Implementations
impl RefUnwindSafe for ParamSpecExpression
impl Unpin for ParamSpecExpression
impl UnwindSafe for ParamSpecExpression
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> StaticTypeExt for T where
T: StaticType,
impl<T> StaticTypeExt for T where
T: StaticType,
sourcefn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
sourceimpl<T> ToClosureReturnValue for T where
T: ToValue,
impl<T> ToClosureReturnValue for T where
T: ToValue,
fn to_closure_return_value(&self) -> Option<Value>
sourceimpl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
impl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
sourcefn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a SendValue
clone of self
.