Skip to main content

VisualImplExt

Trait VisualImplExt 

Source
pub trait VisualImplExt: VisualImpl {
Show 16 methods // Provided methods fn parent_render(this: &Self, context: &mut DrawingContext<'_>) { ... } fn parent_on_attached_to_visual_tree_core( this: &Self, e: &VisualTreeAttachmentEventArgs, ) { ... } fn parent_on_detached_from_visual_tree_core( this: &Self, e: &VisualTreeAttachmentEventArgs, ) { ... } fn parent_on_attached_to_visual_tree( this: &Self, e: &VisualTreeAttachmentEventArgs, ) { ... } fn parent_on_detached_from_visual_tree( this: &Self, e: &VisualTreeAttachmentEventArgs, ) { ... } fn parent_on_visual_parent_changed( this: &Self, old_parent: Option<&Ref<Visual>>, new_parent: Option<&Ref<Visual>>, ) { ... } fn parent_bypass_flow_direction_policies(this: &Self) -> bool { ... } fn parent_invalidate_mirror_transform(this: &Self) { ... } fn parent_clip_to_bounds_radius(this: &Self) -> Option<CornerRadius> { ... } fn parent_custom_hit_test(this: &Self, point: Point) -> Option<bool> { ... } fn parent_custom_hit_test_geometry( this: &Self, geometry: &Ref<Geometry>, ) -> Option<IntersectionResult> { ... } fn parent_ensure_initialized_for_visual_brush(this: &Self) { ... } fn parent_create_composition_visual( this: &Self, compositor: &Rc<Compositor>, ) -> CompositionDrawListVisual { ... } fn parent_detach_from_compositor(this: &Self) { ... } fn parent_synchronize_composition_child_visuals(this: &Self) { ... } fn parent_synchronize_composition_properties(this: &Self) { ... }
}
Expand description

Access to the base implementations of the overridable members.

Provided Methods§

Source

fn parent_render(this: &Self, context: &mut DrawingContext<'_>)

Calls the base class implementation of the member.

Source

fn parent_on_attached_to_visual_tree_core( this: &Self, e: &VisualTreeAttachmentEventArgs, )

Calls the base class implementation of the member.

Source

fn parent_on_detached_from_visual_tree_core( this: &Self, e: &VisualTreeAttachmentEventArgs, )

Calls the base class implementation of the member.

Source

fn parent_on_attached_to_visual_tree( this: &Self, e: &VisualTreeAttachmentEventArgs, )

Calls the base class implementation of the member.

Source

fn parent_on_detached_from_visual_tree( this: &Self, e: &VisualTreeAttachmentEventArgs, )

Calls the base class implementation of the member.

Source

fn parent_on_visual_parent_changed( this: &Self, old_parent: Option<&Ref<Visual>>, new_parent: Option<&Ref<Visual>>, )

Calls the base class implementation of the member.

Source

fn parent_bypass_flow_direction_policies(this: &Self) -> bool

Calls the base class implementation of the member.

Source

fn parent_invalidate_mirror_transform(this: &Self)

Calls the base class implementation of the member.

Source

fn parent_clip_to_bounds_radius(this: &Self) -> Option<CornerRadius>

Calls the base class implementation of the member.

Source

fn parent_custom_hit_test(this: &Self, point: Point) -> Option<bool>

Calls the base class implementation of the member.

Source

fn parent_custom_hit_test_geometry( this: &Self, geometry: &Ref<Geometry>, ) -> Option<IntersectionResult>

Calls the base class implementation of the member.

Source

fn parent_ensure_initialized_for_visual_brush(this: &Self)

Calls the base class implementation of the member.

Source

fn parent_create_composition_visual( this: &Self, compositor: &Rc<Compositor>, ) -> CompositionDrawListVisual

Calls the base class implementation of the member.

Source

fn parent_detach_from_compositor(this: &Self)

Calls the base class implementation of the member.

Source

fn parent_synchronize_composition_child_visuals(this: &Self)

Calls the base class implementation of the member.

Source

fn parent_synchronize_composition_properties(this: &Self)

Calls the base class implementation of the member.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§