Struct Object
pub struct Object { /* private fields */ }Expand description
Object represents a strong reference to an instance of C++ kanzi::Object.
Implementations§
§impl Object
impl Object
pub const fn as_ptr(&self) -> *mut ObjectWrapper
pub const fn as_wrapper(&self) -> &ObjectWrapper
§impl Object
impl Object
pub fn as_object(&self) -> &Object
pub fn as_object(&self) -> &Object
Represents any type inheriting from Object as &Object.
This is useful for comparisions when PartialEq traits failed to compare objects of
different types.
let child = screen.get_child(0)?;
let parent = child.get_parent()?.into_error(ErrorKind::ObjectNotFound)?;
// assert_eq!(screen, parent); // <- Fails to compile!
assert_eq!(screen.as_object(), parent.as_object());pub fn get_native(&self) -> Result<NonNull<c_void>, Error>
pub fn get_native(&self) -> Result<NonNull<c_void>, Error>
Gets a pointer to the backing C++ instance.
pub fn get_property<T>(
&self,
property_type: &PropertyType<T>,
) -> Result<<T as VariantConstraint>::RetArg, Error>where
T: PropertyTypeConstraint,
pub fn get_property<T>(
&self,
property_type: &PropertyType<T>,
) -> Result<<T as VariantConstraint>::RetArg, Error>where
T: PropertyTypeConstraint,
Returns the current value of a property disregarding modifiers.
Base value is affected by the following inputs where the highest entry in the list determines the base value:
- Local value set with setProperty or loaded from kzb
- Value set by a style affecting the property.
- Value defined by class metadata.
Modifiers are not applied, the highest-priority base value is returned.
If no inputs to the property value can be established the system returns the value default value from property type metadata.
§Arguments
property_type- The property type identifying the property to retrieve.
§Returns
The evaluated property value.
pub fn get_optional_property<T>(
&self,
property_type: &PropertyType<T>,
) -> Result<Option<<T as VariantConstraint>::RetArg>, Error>where
T: PropertyTypeConstraint,
pub fn get_optional_property<T>(
&self,
property_type: &PropertyType<T>,
) -> Result<Option<<T as VariantConstraint>::RetArg>, Error>where
T: PropertyTypeConstraint,
Returns the current value of a property disregarding modifiers, but does not default to the value in property metadata if there are no inputs to the property value.
If there is no value sources, None is returned.
If no inputs to the property value can be established the system returns the value default value from property type metadata.
§Arguments
property_type- The property type identifying the property to retrieve.
§Returns
The evaluated property value.
pub fn set_property<T>(
&self,
property_type: &PropertyType<T>,
value: <T as VariantConstraint>::DataArg<'_>,
) -> Result<(), Error>where
T: PropertyTypeConstraint,
pub fn set_property<T>(
&self,
property_type: &PropertyType<T>,
value: <T as VariantConstraint>::DataArg<'_>,
) -> Result<(), Error>where
T: PropertyTypeConstraint,
Sets the local value of a property type.
pub fn has_value<T>(
&self,
property_type: &PropertyType<T>,
) -> Result<bool, Error>where
T: PropertyTypeConstraint,
pub fn has_value<T>(
&self,
property_type: &PropertyType<T>,
) -> Result<bool, Error>where
T: PropertyTypeConstraint,
Evaluates whether there are any inputs into the property value. Both value sources and modifiers are taken into account.
§Returns
Returns true if there are inputs into the property value, false otherwise.
pub fn remove_local_value<T>(
&self,
property_type: &PropertyType<T>,
) -> Result<(), Error>where
T: PropertyTypeConstraint,
pub fn remove_local_value<T>(
&self,
property_type: &PropertyType<T>,
) -> Result<(), Error>where
T: PropertyTypeConstraint,
Removes the local value associated with the property.
pub fn get_metaclass(&self) -> Result<Metaclass, Error>
pub fn get_metaclass(&self) -> Result<Metaclass, Error>
Returns the metaclass of the dynamic type of the object.
pub fn get_domain(&self) -> Result<Domain, Error>
pub fn get_domain(&self) -> Result<Domain, Error>
Returns the domain the object belongs to.
pub fn set_flag_keep_during_patching<T>(
&self,
property_type: &PropertyType<T>,
) -> Result<(), Error>where
T: PropertyTypeConstraint,
pub fn set_flag_keep_during_patching<T>(
&self,
property_type: &PropertyType<T>,
) -> Result<(), Error>where
T: PropertyTypeConstraint,
Sets the flag to indicate that the property was loaded from KZB.
Trait Implementations§
§impl Inheritable for Object
impl Inheritable for Object
§unsafe fn downcast_unchecked<T>(self) -> Twhere
T: Inherits<Self>,
unsafe fn downcast_unchecked<T>(self) -> Twhere
T: Inherits<Self>,
§unsafe fn downcast_unchecked_ref<T>(&self) -> &Twhere
T: Inherits<Self>,
unsafe fn downcast_unchecked_ref<T>(&self) -> &Twhere
T: Inherits<Self>,
§impl Inherits<Object> for ActionBase
impl Inherits<Object> for ActionBase
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for Activity2D
impl Inherits<Object> for Activity2D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for Activity3D
impl Inherits<Object> for Activity3D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ActivityCodeBehind
impl Inherits<Object> for ActivityCodeBehind
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ActivityConcept
impl Inherits<Object> for ActivityConcept
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ActivityElement
impl Inherits<Object> for ActivityElement
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ActivityHostConcept
impl Inherits<Object> for ActivityHostConcept
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for AnimationBindingProcessor
impl Inherits<Object> for AnimationBindingProcessor
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for AnimationPlayer
impl Inherits<Object> for AnimationPlayer
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for AnimationResource
impl Inherits<Object> for AnimationResource
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ApplyAction
impl Inherits<Object> for ApplyAction
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ApplyActivationAction
impl Inherits<Object> for ApplyActivationAction
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ApplyPropertyAction
impl Inherits<Object> for ApplyPropertyAction
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for BinaryResource
impl Inherits<Object> for BinaryResource
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for BindingProcessor
impl Inherits<Object> for BindingProcessor
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for BitmapFontFile
impl Inherits<Object> for BitmapFontFile
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for BlitRenderPass
impl Inherits<Object> for BlitRenderPass
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for BlurEffect2D
impl Inherits<Object> for BlurEffect2D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ButtonConcept
impl Inherits<Object> for ButtonConcept
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for CallbackBindingProcessor
impl Inherits<Object> for CallbackBindingProcessor
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ClearRenderPass
impl Inherits<Object> for ClearRenderPass
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ClickConcept
impl Inherits<Object> for ClickConcept
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ClickManipulator
impl Inherits<Object> for ClickManipulator
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ClickManipulatorComponent
impl Inherits<Object> for ClickManipulatorComponent
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for CodeBehind
impl Inherits<Object> for CodeBehind
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ColorBrush
impl Inherits<Object> for ColorBrush
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for CompositionBrush
impl Inherits<Object> for CompositionBrush
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for CompositionTargetRenderPass
impl Inherits<Object> for CompositionTargetRenderPass
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ContentBrush
impl Inherits<Object> for ContentBrush
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ContentLayout2D
impl Inherits<Object> for ContentLayout2D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ContentLayout3D
impl Inherits<Object> for ContentLayout3D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ContentLayoutConcept
impl Inherits<Object> for ContentLayoutConcept
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for CubeMapRenderPass
impl Inherits<Object> for CubeMapRenderPass
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for DataContext
impl Inherits<Object> for DataContext
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for DataDrivenExclusiveActivityHost2D
impl Inherits<Object> for DataDrivenExclusiveActivityHost2D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for DataDrivenExclusiveActivityHost3D
impl Inherits<Object> for DataDrivenExclusiveActivityHost3D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for DataDrivenExclusiveActivityHostConcept
impl Inherits<Object> for DataDrivenExclusiveActivityHostConcept
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for DataObject<()>
impl Inherits<Object> for DataObject<()>
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl<T> Inherits<Object> for DataObject<T>where
T: DataObjectConstraint,
impl<T> Inherits<Object> for DataObject<T>where
T: DataObjectConstraint,
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for DataObjectList
impl Inherits<Object> for DataObjectList
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for DataSource
impl Inherits<Object> for DataSource
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for DataSourceListItemGenerator2D
impl Inherits<Object> for DataSourceListItemGenerator2D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for DataSourceListItemGenerator3D
impl Inherits<Object> for DataSourceListItemGenerator3D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for DataTrigger
impl Inherits<Object> for DataTrigger
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for DataTriggerComponent
impl Inherits<Object> for DataTriggerComponent
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for DispatchMessageAction
impl Inherits<Object> for DispatchMessageAction
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for DockLayout2D
impl Inherits<Object> for DockLayout2D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for DockLayout3D
impl Inherits<Object> for DockLayout3D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for DockLayoutConcept
impl Inherits<Object> for DockLayoutConcept
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for DragAndDropManipulator
impl Inherits<Object> for DragAndDropManipulator
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for DrawObjectsRenderPass
impl Inherits<Object> for DrawObjectsRenderPass
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for DrawObjectsWithMaterialRenderPass
impl Inherits<Object> for DrawObjectsWithMaterialRenderPass
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for EffectStack2D
impl Inherits<Object> for EffectStack2D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for EmptyNode2D
impl Inherits<Object> for EmptyNode2D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for EmptyNode3D
impl Inherits<Object> for EmptyNode3D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ExclusiveActivityHost2D
impl Inherits<Object> for ExclusiveActivityHost2D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ExclusiveActivityHost3D
impl Inherits<Object> for ExclusiveActivityHost3D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ExclusiveActivityHostConcept
impl Inherits<Object> for ExclusiveActivityHostConcept
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ExpressionBindingProcessor
impl Inherits<Object> for ExpressionBindingProcessor
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ExpressionCondition
impl Inherits<Object> for ExpressionCondition
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for FloatValueAccumulator
impl Inherits<Object> for FloatValueAccumulator
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for FlowLayout2D
impl Inherits<Object> for FlowLayout2D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for FlowLayout3D
impl Inherits<Object> for FlowLayout3D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for FlowLayoutConcept
impl Inherits<Object> for FlowLayoutConcept
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for FontFamily
impl Inherits<Object> for FontFamily
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for FontStyleConcept
impl Inherits<Object> for FontStyleConcept
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ForwardingAction
impl Inherits<Object> for ForwardingAction
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for Framebuffer
impl Inherits<Object> for Framebuffer
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for GPUResource
impl Inherits<Object> for GPUResource
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for GatherLightsRenderPass
impl Inherits<Object> for GatherLightsRenderPass
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for GatherNearestLightsRenderPass
impl Inherits<Object> for GatherNearestLightsRenderPass
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for GridLayout2D
impl Inherits<Object> for GridLayout2D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for GridLayout3D
impl Inherits<Object> for GridLayout3D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for GridLayoutConcept
impl Inherits<Object> for GridLayoutConcept
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for GridListBox2D
impl Inherits<Object> for GridListBox2D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for GridListBox3D
impl Inherits<Object> for GridListBox3D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for GridListBoxConcept
impl Inherits<Object> for GridListBoxConcept
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for InputManipulator
impl Inherits<Object> for InputManipulator
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for Instantiator3D
impl Inherits<Object> for Instantiator3D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for InstructionBindingProcessor
impl Inherits<Object> for InstructionBindingProcessor
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for IntValueAccumulator
impl Inherits<Object> for IntValueAccumulator
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for KeyManipulator
impl Inherits<Object> for KeyManipulator
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for KeyManipulatorComponent
impl Inherits<Object> for KeyManipulatorComponent
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for LegacyRenderPass
impl Inherits<Object> for LegacyRenderPass
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for LevelOfDetail3D
impl Inherits<Object> for LevelOfDetail3D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ListBoxConcept
impl Inherits<Object> for ListBoxConcept
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ListBoxItemContainer
impl Inherits<Object> for ListBoxItemContainer
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ListBoxItemContainer2D
impl Inherits<Object> for ListBoxItemContainer2D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ListBoxItemContainer3D
impl Inherits<Object> for ListBoxItemContainer3D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ListBoxItemContainerGenerator3D
impl Inherits<Object> for ListBoxItemContainerGenerator3D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ListBoxItemGenerator2D
impl Inherits<Object> for ListBoxItemGenerator2D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ListBoxItemGenerator3D
impl Inherits<Object> for ListBoxItemGenerator3D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ListBoxScrollingConcept
impl Inherits<Object> for ListBoxScrollingConcept
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for LongPressManipulator
impl Inherits<Object> for LongPressManipulator
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for LongPressManipulatorComponent
impl Inherits<Object> for LongPressManipulatorComponent
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for MaskEffect2D
impl Inherits<Object> for MaskEffect2D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for MaterialBrush
impl Inherits<Object> for MaterialBrush
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for MaterialSetupRenderPass
impl Inherits<Object> for MaterialSetupRenderPass
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for MessageTrigger
impl Inherits<Object> for MessageTrigger
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for MipmapGenerationConcept
impl Inherits<Object> for MipmapGenerationConcept
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for MorphWeightTimeline
impl Inherits<Object> for MorphWeightTimeline
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for MoveFocusAction
impl Inherits<Object> for MoveFocusAction
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for MultiClickManipulator
impl Inherits<Object> for MultiClickManipulator
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for MultiClickManipulatorComponent
impl Inherits<Object> for MultiClickManipulatorComponent
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for NinePatchImage2D
impl Inherits<Object> for NinePatchImage2D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for NodeComponent
impl Inherits<Object> for NodeComponent
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for NodeEffect2D
impl Inherits<Object> for NodeEffect2D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for NodeEffectPrefab2D
impl Inherits<Object> for NodeEffectPrefab2D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for NodeListRenderPass
impl Inherits<Object> for NodeListRenderPass
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ObjectSource
impl Inherits<Object> for ObjectSource
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for OnAttachedTrigger
impl Inherits<Object> for OnAttachedTrigger
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for OnPropertyChangedTrigger
impl Inherits<Object> for OnPropertyChangedTrigger
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for OutlineEffect2D
impl Inherits<Object> for OutlineEffect2D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for PageTransitionCollection
impl Inherits<Object> for PageTransitionCollection
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for PanManipulator
impl Inherits<Object> for PanManipulator
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for PanManipulatorComponent
impl Inherits<Object> for PanManipulatorComponent
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ParallelActivityHost2D
impl Inherits<Object> for ParallelActivityHost2D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ParallelActivityHost3D
impl Inherits<Object> for ParallelActivityHost3D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ParallelActivityHostConcept
impl Inherits<Object> for ParallelActivityHostConcept
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ParallelTimeline
impl Inherits<Object> for ParallelTimeline
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for PinchManipulator
impl Inherits<Object> for PinchManipulator
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for PipelineStateRenderPass
impl Inherits<Object> for PipelineStateRenderPass
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for PrefabTemplate
impl Inherits<Object> for PrefabTemplate
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for PrefabTemplateNode
impl Inherits<Object> for PrefabTemplateNode
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for PrefabView2D
impl Inherits<Object> for PrefabView2D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for PrefabView3D
impl Inherits<Object> for PrefabView3D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for PrefabViewConcept
impl Inherits<Object> for PrefabViewConcept
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ProgressiveRenderingViewport2D
impl Inherits<Object> for ProgressiveRenderingViewport2D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for PropertyAnimationTimeline
impl Inherits<Object> for PropertyAnimationTimeline
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for PropertyDrivenAnimationPlayer
impl Inherits<Object> for PropertyDrivenAnimationPlayer
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for PropertyFieldAnimationTimeline
impl Inherits<Object> for PropertyFieldAnimationTimeline
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for PropertyTargetEasingInterpolator
impl Inherits<Object> for PropertyTargetEasingInterpolator
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for PropertyTargetInterpolator
impl Inherits<Object> for PropertyTargetInterpolator
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for RangeAccumulateBindingProcessor
impl Inherits<Object> for RangeAccumulateBindingProcessor
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for RangeBindingProcessor
impl Inherits<Object> for RangeBindingProcessor
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for RangeConcept
impl Inherits<Object> for RangeConcept
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for RenderPass
impl Inherits<Object> for RenderPass
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for RenderPassPrefab
impl Inherits<Object> for RenderPassPrefab
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for RenderPassView
impl Inherits<Object> for RenderPassView
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for Renderbuffer
impl Inherits<Object> for Renderbuffer
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ResourceBindingProcessor
impl Inherits<Object> for ResourceBindingProcessor
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ResourceDictionary
impl Inherits<Object> for ResourceDictionary
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ResourceDictionarySelector
impl Inherits<Object> for ResourceDictionarySelector
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ScrollView2D
impl Inherits<Object> for ScrollView2D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ScrollView3D
impl Inherits<Object> for ScrollView3D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ScrollViewConcept
impl Inherits<Object> for ScrollViewConcept
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for SetPropertyAction
impl Inherits<Object> for SetPropertyAction
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ShaderProgram
impl Inherits<Object> for ShaderProgram
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ShadowEffect2D
impl Inherits<Object> for ShadowEffect2D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for SliderConcept
impl Inherits<Object> for SliderConcept
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for StackLayout2D
impl Inherits<Object> for StackLayout2D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for StackLayout3D
impl Inherits<Object> for StackLayout3D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for StackLayoutConcept
impl Inherits<Object> for StackLayoutConcept
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for StateManager
impl Inherits<Object> for StateManager
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for TextBlock2D
impl Inherits<Object> for TextBlock2D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for TextBlock3D
impl Inherits<Object> for TextBlock3D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for TextBlockConcept
impl Inherits<Object> for TextBlockConcept
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for TextBoxConcept
impl Inherits<Object> for TextBoxConcept
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for TextConcept
impl Inherits<Object> for TextConcept
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for TextInputManipulator
impl Inherits<Object> for TextInputManipulator
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for TextResource
impl Inherits<Object> for TextResource
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for TextureBrush
impl Inherits<Object> for TextureBrush
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for TimelineResource
impl Inherits<Object> for TimelineResource
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for TimerTrigger
impl Inherits<Object> for TimerTrigger
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ToggleButton2D
impl Inherits<Object> for ToggleButton2D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ToggleButton3D
impl Inherits<Object> for ToggleButton3D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ToggleButtonGroup2D
impl Inherits<Object> for ToggleButtonGroup2D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ToggleButtonGroup3D
impl Inherits<Object> for ToggleButtonGroup3D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ToggleButtonGroupConcept
impl Inherits<Object> for ToggleButtonGroupConcept
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for Trajectory
impl Inherits<Object> for Trajectory
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for TrajectoryLayout2D
impl Inherits<Object> for TrajectoryLayout2D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for TrajectoryLayout3D
impl Inherits<Object> for TrajectoryLayout3D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for TrajectoryLayoutConcept
impl Inherits<Object> for TrajectoryLayoutConcept
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for TrajectoryListBox3D
impl Inherits<Object> for TrajectoryListBox3D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for TrySetFocusAction
impl Inherits<Object> for TrySetFocusAction
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ValueAccumulatorBase
impl Inherits<Object> for ValueAccumulatorBase
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for ValueControlledExclusiveActivityHostConcept
impl Inherits<Object> for ValueControlledExclusiveActivityHostConcept
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for Viewport2D
impl Inherits<Object> for Viewport2D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for Viewport3D
impl Inherits<Object> for Viewport3D
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<Object> for WriteLogAction
impl Inherits<Object> for WriteLogAction
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl MetaclassConstraint for Object
impl MetaclassConstraint for Object
§fn get_static_metaclass() -> &'static Metaclass
fn get_static_metaclass() -> &'static Metaclass
§impl ObjectConstraint for Object
impl ObjectConstraint for Object
§fn downcast<T>(self) -> Result<Option<T>, Error>where
T: MetaInherits<Self>,
fn downcast<T>(self) -> Result<Option<T>, Error>where
T: MetaInherits<Self>,
§fn downcast_ref<T>(&self) -> Result<Option<&T>, Error>where
T: MetaInherits<Self>,
fn downcast_ref<T>(&self) -> Result<Option<&T>, Error>where
T: MetaInherits<Self>,
§fn is_a<T>(&self) -> Result<bool, Error>where
T: MetaInherits<Self>,
fn is_a<T>(&self) -> Result<bool, Error>where
T: MetaInherits<Self>,
fn downgrade(self) -> Weak<Self>
fn downgrade_ref(&self) -> Weak<Self>
fn lock(self) -> ThreadObject<Self>
fn lock_ref(&self) -> ThreadObject<Self>
§impl<T> PartialEq<T> for Objectwhere
T: ObjectConstraint,
impl<T> PartialEq<T> for Objectwhere
T: ObjectConstraint,
§impl<T> PartialEq<Weak<T>> for Objectwhere
T: ObjectConstraint,
impl<T> PartialEq<Weak<T>> for Objectwhere
T: ObjectConstraint,
impl Eq for Object
Auto Trait Implementations§
impl Freeze for Object
impl RefUnwindSafe for Object
impl !Send for Object
impl !Sync for Object
impl Unpin for Object
impl UnwindSafe for Object
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)