pub trait PropertyTransitionExt: 'static {
// Required methods
fn get_property_name(&self) -> Option<GString>;
fn set_property_name(&self, property_name: Option<&str>);
fn connect_property_property_name_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
}
Expand description
Trait containing all PropertyTransition
methods.
§Implementors
Required Methods§
Sourcefn get_property_name(&self) -> Option<GString>
fn get_property_name(&self) -> Option<GString>
Retrieves the value of the PropertyTransition:property-name
property.
§Returns
the name of the property being animated, or None
if
none is set. The returned string is owned by the self
and
it should not be freed.
Sourcefn set_property_name(&self, property_name: Option<&str>)
fn set_property_name(&self, property_name: Option<&str>)
fn connect_property_property_name_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.