pub struct CompositionBrush { /* private fields */ }Expand description
A brush of the composition API.
Implementations§
Source§impl CompositionBrush
impl CompositionBrush
Sourcepub fn brush_props(&self) -> &CompositionBrushProps
pub fn brush_props(&self) -> &CompositionBrushProps
The generated properties of CompositionBrush.
pub fn compositor(&self) -> &Rc<Compositor>
Sourcepub fn object(&self) -> &CompositionObject
pub fn object(&self) -> &CompositionObject
The embedded CompositionObject.
Sourcepub fn server(&self) -> ServerObjectId
pub fn server(&self) -> ServerObjectId
The id of the server-side brush.
pub fn is_disposed(&self) -> bool
Sourcepub fn to_rc(&self) -> Rc<CompositionBrush>
pub fn to_rc(&self) -> Rc<CompositionBrush>
The handle of the brush, from a reference to it (an IBrush seen as
a CompositionBrush through IBrush::as_composition_brush).
Sourcepub fn implicit_animations(&self) -> Option<Rc<ImplicitAnimationCollection>>
pub fn implicit_animations(&self) -> Option<Rc<ImplicitAnimationCollection>>
The collection of implicit animations attached to this object.
pub fn set_implicit_animations( &self, value: Option<Rc<ImplicitAnimationCollection>>, )
pub fn opacity(&self) -> f64
pub fn set_opacity(&self, value: f64)
pub fn transform_origin(&self) -> RelativePoint
pub fn set_transform_origin(&self, value: RelativePoint)
pub fn transform(&self) -> Option<Rc<dyn ITransform>>
Sourcepub fn set_transform(&self, value: Option<Rc<dyn ITransform>>)
pub fn set_transform(&self, value: Option<Rc<dyn ITransform>>)
Sets the transform. What the server receives is the form a
transform takes on a compositor (GetServer): an immutable
transform as it is, a mutable one as a copy of its current value.
pub fn relative_transform(&self) -> Option<Rc<dyn ITransform>>
Sourcepub fn set_relative_transform(&self, value: Option<Rc<dyn ITransform>>)
pub fn set_relative_transform(&self, value: Option<Rc<dyn ITransform>>)
Sets the relative transform; see set_transform.
Trait Implementations§
Source§impl AsCompositionObject for CompositionBrush
impl AsCompositionObject for CompositionBrush
Source§fn as_composition_object(&self) -> &CompositionObject
fn as_composition_object(&self) -> &CompositionObject
CompositionObject.Source§fn composition_type_name(&self) -> &'static str
fn composition_type_name(&self) -> &'static str
Source§fn as_property_set(self: Rc<Self>) -> Option<Rc<CompositionPropertySet>>
fn as_property_set(self: Rc<Self>) -> Option<Rc<CompositionPropertySet>>
is CompositionPropertySet test of upstream).Source§impl CompositionBrushHooks for CompositionBrush
InitializeDefaultsExtra activates the server object: done when the
server object is created (see the constructors of the server brushes).
impl CompositionBrushHooks for CompositionBrush
InitializeDefaultsExtra activates the server object: done when the
server object is created (see the constructors of the server brushes).
fn initialize_defaults_extra(&self)
fn validate_opacity_change(&self, _old_value: f64, _new_value: f64)
fn on_opacity_changed(&self)
fn on_opacity_changing(&self)
fn validate_transform_origin_change( &self, _old_value: RelativePoint, _new_value: RelativePoint, )
fn on_transform_origin_changed(&self)
fn on_transform_origin_changing(&self)
fn validate_transform_change( &self, _old_value: &Option<BatchResource<dyn ITransform>>, _new_value: &Option<BatchResource<dyn ITransform>>, )
fn on_transform_changed(&self)
fn on_transform_changing(&self)
fn validate_relative_transform_change( &self, _old_value: &Option<BatchResource<dyn ITransform>>, _new_value: &Option<BatchResource<dyn ITransform>>, )
fn on_relative_transform_changed(&self)
fn on_relative_transform_changing(&self)
Source§impl CompositionConicGradientBrushHooks for CompositionBrush
impl CompositionConicGradientBrushHooks for CompositionBrush
Source§fn base_serialize_changes_core(&self, writer: &mut BatchStreamWriter<'_>)
fn base_serialize_changes_core(&self, writer: &mut BatchStreamWriter<'_>)
base.SerializeChangesCore(writer): serializes the changes of the
hand-written base class CompositionGradientBrush.fn initialize_defaults_extra(&self)
fn validate_angle_change(&self, _old_value: f64, _new_value: f64)
fn on_angle_changed(&self)
fn on_angle_changing(&self)
fn validate_center_change( &self, _old_value: RelativePoint, _new_value: RelativePoint, )
fn on_center_changed(&self)
fn on_center_changing(&self)
fn validate_anchor_point_change(&self, _old_value: Vector, _new_value: Vector)
fn on_anchor_point_changed(&self)
fn on_anchor_point_changing(&self)
fn validate_center_point_change(&self, _old_value: Vector, _new_value: Vector)
fn on_center_point_changed(&self)
fn on_center_point_changing(&self)
fn validate_offset_change(&self, _old_value: Vector, _new_value: Vector)
fn on_offset_changed(&self)
fn on_offset_changing(&self)
fn validate_rotation_angle_change(&self, _old_value: f32, _new_value: f32)
fn on_rotation_angle_changed(&self)
fn on_rotation_angle_changing(&self)
fn validate_scale_change(&self, _old_value: Vector, _new_value: Vector)
fn on_scale_changed(&self)
fn on_scale_changing(&self)
fn validate_transform_matrix_change( &self, _old_value: Matrix, _new_value: Matrix, )
fn on_transform_matrix_changed(&self)
fn on_transform_matrix_changing(&self)
Source§impl CompositionLinearGradientBrushHooks for CompositionBrush
impl CompositionLinearGradientBrushHooks for CompositionBrush
Source§fn base_serialize_changes_core(&self, writer: &mut BatchStreamWriter<'_>)
fn base_serialize_changes_core(&self, writer: &mut BatchStreamWriter<'_>)
base.SerializeChangesCore(writer): serializes the changes of the
hand-written base class CompositionGradientBrush.fn initialize_defaults_extra(&self)
fn validate_start_point_change( &self, _old_value: RelativePoint, _new_value: RelativePoint, )
fn on_start_point_changed(&self)
fn on_start_point_changing(&self)
fn validate_end_point_change( &self, _old_value: RelativePoint, _new_value: RelativePoint, )
fn on_end_point_changed(&self)
fn on_end_point_changing(&self)
fn validate_anchor_point_change(&self, _old_value: Vector, _new_value: Vector)
fn on_anchor_point_changed(&self)
fn on_anchor_point_changing(&self)
fn validate_center_point_change(&self, _old_value: Vector, _new_value: Vector)
fn on_center_point_changed(&self)
fn on_center_point_changing(&self)
fn validate_offset_change(&self, _old_value: Vector, _new_value: Vector)
fn on_offset_changed(&self)
fn on_offset_changing(&self)
fn validate_rotation_angle_change(&self, _old_value: f32, _new_value: f32)
fn on_rotation_angle_changed(&self)
fn on_rotation_angle_changing(&self)
fn validate_scale_change(&self, _old_value: Vector, _new_value: Vector)
fn on_scale_changed(&self)
fn on_scale_changing(&self)
fn validate_transform_matrix_change( &self, _old_value: Matrix, _new_value: Matrix, )
fn on_transform_matrix_changed(&self)
fn on_transform_matrix_changing(&self)
Source§impl CompositionMaskBrushHooks for CompositionBrush
impl CompositionMaskBrushHooks for CompositionBrush
fn initialize_defaults_extra(&self)
fn validate_source_change( &self, _old_value: &Option<Rc<dyn ICompositionObject>>, _new_value: &Option<Rc<dyn ICompositionObject>>, )
fn on_source_changed(&self)
fn on_source_changing(&self)
fn validate_mask_change( &self, _old_value: &Option<Rc<dyn ICompositionObject>>, _new_value: &Option<Rc<dyn ICompositionObject>>, )
fn on_mask_changed(&self)
fn on_mask_changing(&self)
Source§impl CompositionNineGridBrushHooks for CompositionBrush
impl CompositionNineGridBrushHooks for CompositionBrush
fn initialize_defaults_extra(&self)
fn validate_source_change( &self, _old_value: &Option<Rc<dyn ICompositionObject>>, _new_value: &Option<Rc<dyn ICompositionObject>>, )
fn on_source_changed(&self)
fn on_source_changing(&self)
fn validate_left_inset_change(&self, _old_value: f32, _new_value: f32)
fn on_left_inset_changed(&self)
fn on_left_inset_changing(&self)
fn validate_top_inset_change(&self, _old_value: f32, _new_value: f32)
fn on_top_inset_changed(&self)
fn on_top_inset_changing(&self)
fn validate_right_inset_change(&self, _old_value: f32, _new_value: f32)
fn on_right_inset_changed(&self)
fn on_right_inset_changing(&self)
fn validate_bottom_inset_change(&self, _old_value: f32, _new_value: f32)
fn on_bottom_inset_changed(&self)
fn on_bottom_inset_changing(&self)
fn validate_left_inset_scale_change(&self, _old_value: f32, _new_value: f32)
fn on_left_inset_scale_changed(&self)
fn on_left_inset_scale_changing(&self)
fn validate_top_inset_scale_change(&self, _old_value: f32, _new_value: f32)
fn on_top_inset_scale_changed(&self)
fn on_top_inset_scale_changing(&self)
fn validate_right_inset_scale_change(&self, _old_value: f32, _new_value: f32)
fn on_right_inset_scale_changed(&self)
fn on_right_inset_scale_changing(&self)
fn validate_bottom_inset_scale_change(&self, _old_value: f32, _new_value: f32)
fn on_bottom_inset_scale_changed(&self)
fn on_bottom_inset_scale_changing(&self)
fn validate_is_center_hollow_change(&self, _old_value: bool, _new_value: bool)
fn on_is_center_hollow_changed(&self)
fn on_is_center_hollow_changing(&self)
Source§impl CompositionRadialGradientBrushHooks for CompositionBrush
impl CompositionRadialGradientBrushHooks for CompositionBrush
Source§fn base_serialize_changes_core(&self, writer: &mut BatchStreamWriter<'_>)
fn base_serialize_changes_core(&self, writer: &mut BatchStreamWriter<'_>)
base.SerializeChangesCore(writer): serializes the changes of the
hand-written base class CompositionGradientBrush.fn initialize_defaults_extra(&self)
fn validate_center_change( &self, _old_value: RelativePoint, _new_value: RelativePoint, )
fn on_center_changed(&self)
fn on_center_changing(&self)
fn validate_gradient_origin_change( &self, _old_value: RelativePoint, _new_value: RelativePoint, )
fn on_gradient_origin_changed(&self)
fn on_gradient_origin_changing(&self)
fn validate_radius_x_change( &self, _old_value: RelativeScalar, _new_value: RelativeScalar, )
fn on_radius_x_changed(&self)
fn on_radius_x_changing(&self)
fn validate_radius_y_change( &self, _old_value: RelativeScalar, _new_value: RelativeScalar, )
fn on_radius_y_changed(&self)
fn on_radius_y_changing(&self)
fn validate_anchor_point_change(&self, _old_value: Vector, _new_value: Vector)
fn on_anchor_point_changed(&self)
fn on_anchor_point_changing(&self)
fn validate_center_point_change(&self, _old_value: Vector, _new_value: Vector)
fn on_center_point_changed(&self)
fn on_center_point_changing(&self)
fn validate_offset_change(&self, _old_value: Vector, _new_value: Vector)
fn on_offset_changed(&self)
fn on_offset_changing(&self)
fn validate_rotation_angle_change(&self, _old_value: f32, _new_value: f32)
fn on_rotation_angle_changed(&self)
fn on_rotation_angle_changing(&self)
fn validate_scale_change(&self, _old_value: Vector, _new_value: Vector)
fn on_scale_changed(&self)
fn on_scale_changing(&self)
fn validate_transform_matrix_change( &self, _old_value: Matrix, _new_value: Matrix, )
fn on_transform_matrix_changed(&self)
fn on_transform_matrix_changing(&self)
Source§impl CompositionSolidColorBrushHooks for CompositionBrush
impl CompositionSolidColorBrushHooks for CompositionBrush
fn initialize_defaults_extra(&self)
fn validate_color_change(&self, _old_value: Color, _new_value: Color)
fn on_color_changed(&self)
fn on_color_changing(&self)
Source§impl CompositionSurfaceBrushHooks for CompositionBrush
impl CompositionSurfaceBrushHooks for CompositionBrush
fn initialize_defaults_extra(&self)
fn validate_surface_change( &self, _old_value: &Option<Rc<dyn ICompositionObject>>, _new_value: &Option<Rc<dyn ICompositionObject>>, )
fn on_surface_changed(&self)
fn on_surface_changing(&self)
fn validate_stretch_change( &self, _old_value: CompositionStretch, _new_value: CompositionStretch, )
fn on_stretch_changed(&self)
fn on_stretch_changing(&self)
fn validate_horizontal_alignment_ratio_change( &self, _old_value: f32, _new_value: f32, )
fn on_horizontal_alignment_ratio_changed(&self)
fn on_horizontal_alignment_ratio_changing(&self)
fn validate_vertical_alignment_ratio_change( &self, _old_value: f32, _new_value: f32, )
fn on_vertical_alignment_ratio_changed(&self)
fn on_vertical_alignment_ratio_changing(&self)
fn validate_bitmap_interpolation_mode_change( &self, _old_value: CompositionBitmapInterpolationMode, _new_value: CompositionBitmapInterpolationMode, )
fn on_bitmap_interpolation_mode_changed(&self)
fn on_bitmap_interpolation_mode_changing(&self)
fn validate_anchor_point_change(&self, _old_value: Vector, _new_value: Vector)
fn on_anchor_point_changed(&self)
fn on_anchor_point_changing(&self)
fn validate_center_point_change(&self, _old_value: Vector, _new_value: Vector)
fn on_center_point_changed(&self)
fn on_center_point_changing(&self)
fn validate_offset_change(&self, _old_value: Vector, _new_value: Vector)
fn on_offset_changed(&self)
fn on_offset_changing(&self)
fn validate_rotation_angle_change(&self, _old_value: f32, _new_value: f32)
fn on_rotation_angle_changed(&self)
fn on_rotation_angle_changing(&self)
fn validate_scale_change(&self, _old_value: Vector, _new_value: Vector)
fn on_scale_changed(&self)
fn on_scale_changing(&self)
fn validate_transform_matrix_change( &self, _old_value: Matrix, _new_value: Matrix, )
fn on_transform_matrix_changed(&self)
fn on_transform_matrix_changing(&self)
fn validate_snap_to_pixels_change(&self, _old_value: bool, _new_value: bool)
fn on_snap_to_pixels_changed(&self)
fn on_snap_to_pixels_changing(&self)
Source§impl IBrush for CompositionBrush
impl IBrush for CompositionBrush
Source§fn transform_origin(&self) -> RelativePoint
fn transform_origin(&self) -> RelativePoint
transform.Source§fn relative_transform(&self) -> Option<Rc<dyn ITransform>>
fn relative_transform(&self) -> Option<Rc<dyn ITransform>>
Source§fn as_any(&self) -> &dyn Any
fn as_any(&self) -> &dyn Any
as_object.Source§fn as_solid_color_brush(&self) -> Option<&dyn ISolidColorBrush>
fn as_solid_color_brush(&self) -> Option<&dyn ISolidColorBrush>
ISolidColorBrush, when it is one.Source§fn as_gradient_brush(&self) -> Option<&dyn IGradientBrush>
fn as_gradient_brush(&self) -> Option<&dyn IGradientBrush>
IGradientBrush, when it is one.Source§fn as_linear_gradient_brush(&self) -> Option<&dyn ILinearGradientBrush>
fn as_linear_gradient_brush(&self) -> Option<&dyn ILinearGradientBrush>
ILinearGradientBrush, when it is one.Source§fn as_radial_gradient_brush(&self) -> Option<&dyn IRadialGradientBrush>
fn as_radial_gradient_brush(&self) -> Option<&dyn IRadialGradientBrush>
IRadialGradientBrush, when it is one.Source§fn as_conic_gradient_brush(&self) -> Option<&dyn IConicGradientBrush>
fn as_conic_gradient_brush(&self) -> Option<&dyn IConicGradientBrush>
IConicGradientBrush, when it is one.Source§fn as_composition_brush(&self) -> Option<&CompositionBrush>
fn as_composition_brush(&self) -> Option<&CompositionBrush>
is CompositionBrush test of upstream).Source§fn as_object(&self) -> Option<&FerroObject>
fn as_object(&self) -> Option<&FerroObject>
Brush.Source§fn as_tile_brush(&self) -> Option<&dyn ITileBrush>
fn as_tile_brush(&self) -> Option<&dyn ITileBrush>
ITileBrush, when it is one.Source§fn as_image_brush(&self) -> Option<&dyn IImageBrush>
fn as_image_brush(&self) -> Option<&dyn IImageBrush>
IImageBrush, when it is one.Source§fn as_scene_brush(&self) -> Option<&dyn ISceneBrush>
fn as_scene_brush(&self) -> Option<&dyn ISceneBrush>
ISceneBrush, when it is one.Source§fn as_mutable_brush(&self) -> Option<&dyn IMutableBrush>
fn as_mutable_brush(&self) -> Option<&dyn IMutableBrush>
IMutableBrush, when it is one.Source§fn as_immutable_brush(&self) -> Option<&dyn IImmutableBrush>
fn as_immutable_brush(&self) -> Option<&dyn IImmutableBrush>
IImmutableBrush, when it is one (the is IImmutableBrush test of upstream).Source§fn as_composition_render_resource(
&self,
) -> Option<&dyn ICompositionRenderResource>
fn as_composition_render_resource( &self, ) -> Option<&dyn ICompositionRenderResource>
Source§fn into_immutable_brush(self: Rc<Self>) -> Option<Rc<dyn IImmutableBrush>>
fn into_immutable_brush(self: Rc<Self>) -> Option<Rc<dyn IImmutableBrush>>
IImmutableBrush handle, when it is immutable.SharedBrush. An
immutable brush creates it once, so its identity is stable.Source§impl ICompositionObjectAnimations for CompositionBrush
impl ICompositionObjectAnimations for CompositionBrush
Source§fn stop_animation(&self, property_name: &str)
fn stop_animation(&self, property_name: &str)
StopAnimation: an animatable property of an effect brush is stopped
on the property set of the brush, which runs it; any other property
as for every composition object.
Source§fn try_start_animation(
&self,
property_name: &str,
animation: &dyn ICompositionAnimation,
final_value: Option<ExpressionVariant>,
) -> bool
fn try_start_animation( &self, property_name: &str, animation: &dyn ICompositionAnimation, final_value: Option<ExpressionVariant>, ) -> bool
StartAnimation(propertyName, animation, finalValue) of the class:
returns false for a property the class does not know.Source§fn get_composition_property(
&self,
property_name: &str,
) -> Option<&'static CompositionProperty>
fn get_composition_property( &self, property_name: &str, ) -> Option<&'static CompositionProperty>
Source§fn composition_object(&self) -> &CompositionObject
fn composition_object(&self) -> &CompositionObject
CompositionObject.Source§fn start_animation(
&self,
property_name: &str,
animation: &dyn ICompositionAnimation,
)
fn start_animation( &self, property_name: &str, animation: &dyn ICompositionAnimation, )
Source§fn start_animation_with_final_value(
&self,
property_name: &str,
animation: &dyn ICompositionAnimation,
final_value: Option<ExpressionVariant>,
)
fn start_animation_with_final_value( &self, property_name: &str, animation: &dyn ICompositionAnimation, final_value: Option<ExpressionVariant>, )
start_animation. property_name may
name a sub-channel of a vector property (Offset.X, Scale.XY,
components X, Y, Z, W in any case): the animation then animates a
value of the sub-channel’s type (a scalar for one component, a
Vector2 for two, …) and leaves the other components alone. Several
sub-channels of one property run together; an animation of the whole
property replaces them.Source§fn start_animation_with_controller(
&self,
property_name: &str,
animation: &dyn ICompositionAnimation,
controller: &Rc<AnimationController>,
)
fn start_animation_with_controller( &self, property_name: &str, animation: &dyn ICompositionAnimation, controller: &Rc<AnimationController>, )
StartAnimation(propertyName, animation, animationController): starts
the animation under controller, which can pause, resume, scrub and
speed it up. property_name may name a sub-channel, as for
start_animation.Source§fn try_get_animation_controller(
&self,
property_name: &str,
) -> Option<Rc<AnimationController>>
fn try_get_animation_controller( &self, property_name: &str, ) -> Option<Rc<AnimationController>>
TryGetAnimationController): the controller it was started with, or
a new controller that takes the running animation over. None when no
animation was started on the property through this object, or it was
stopped.Source§fn start_animation_group(&self, grp: &dyn ICompositionAnimationBase)
fn start_animation_group(&self, grp: &dyn ICompositionAnimationBase)
Source§fn start_animation_group_part(
&self,
animation: &dyn ICompositionAnimation,
target: &str,
final_value: ExpressionVariant,
) -> bool
fn start_animation_group_part( &self, animation: &dyn ICompositionAnimation, target: &str, final_value: ExpressionVariant, ) -> bool
StartAnimationGroupPart.Source§fn start_animation_group_for(
&self,
grp: &dyn ICompositionAnimationBase,
target: &str,
final_value: ExpressionVariant,
) -> bool
fn start_animation_group_for( &self, grp: &dyn ICompositionAnimationBase, target: &str, final_value: ExpressionVariant, ) -> bool
target to final_value. Returns whether one of the
animations targets that property.Source§fn stop_animation_group(&self, grp: &dyn ICompositionAnimationBase)
fn stop_animation_group(&self, grp: &dyn ICompositionAnimationBase)
Source§impl ICompositionObjectHost for CompositionBrush
impl ICompositionObjectHost for CompositionBrush
Source§fn server(&self) -> ServerObjectId
fn server(&self) -> ServerObjectId
Source§fn pending_animations(&self) -> &PendingAnimations
fn pending_animations(&self) -> &PendingAnimations
Source§fn implicit_animation(
&self,
property_name: &str,
) -> Option<Rc<dyn ICompositionAnimationBase>>
fn implicit_animation( &self, property_name: &str, ) -> Option<Rc<dyn ICompositionAnimationBase>>
ImplicitAnimations?.TryGetValue(name)).Source§fn start_animation_group(
&self,
grp: &Rc<dyn ICompositionAnimationBase>,
target: &str,
final_value: ExpressionVariant,
) -> bool
fn start_animation_group( &self, grp: &Rc<dyn ICompositionAnimationBase>, target: &str, final_value: ExpressionVariant, ) -> bool
target to final_value. Returns whether one of the
animations targets that property.Source§impl ICompositorSerializable for CompositionBrush
impl ICompositorSerializable for CompositionBrush
Source§fn try_get_server(&self, c: &Compositor) -> Option<ServerObjectId>
fn try_get_server(&self, c: &Compositor) -> Option<ServerObjectId>
c, if it
has one.Source§fn serialize_changes(&self, c: &Compositor, writer: &mut BatchStreamWriter<'_>)
fn serialize_changes(&self, c: &Compositor, writer: &mut BatchStreamWriter<'_>)
c.Source§fn serialization_key(&self) -> *const ()
fn serialization_key(&self) -> *const ()
Source§fn prepare_serialization(&self, _c: &Compositor)
fn prepare_serialization(&self, _c: &Compositor)
c. Read moreSource§impl IGradientBrush for CompositionBrush
impl IGradientBrush for CompositionBrush
Source§fn gradient_stops(&self) -> Vec<Rc<dyn IGradientStop>>
fn gradient_stops(&self) -> Vec<Rc<dyn IGradientStop>>
Source§fn spread_method(&self) -> GradientSpreadMethod
fn spread_method(&self) -> GradientSpreadMethod
Source§impl ILinearGradientBrush for CompositionBrush
impl ILinearGradientBrush for CompositionBrush
Source§fn start_point(&self) -> RelativePoint
fn start_point(&self) -> RelativePoint
Source§fn end_point(&self) -> RelativePoint
fn end_point(&self) -> RelativePoint
Source§impl IRadialGradientBrush for CompositionBrush
impl IRadialGradientBrush for CompositionBrush
Source§fn center(&self) -> RelativePoint
fn center(&self) -> RelativePoint
Source§fn gradient_origin(&self) -> RelativePoint
fn gradient_origin(&self) -> RelativePoint
Source§fn radius_x(&self) -> RelativeScalar
fn radius_x(&self) -> RelativeScalar
Source§fn radius_y(&self) -> RelativeScalar
fn radius_y(&self) -> RelativeScalar
Source§impl IRegisterForSerialization for CompositionBrush
impl IRegisterForSerialization for CompositionBrush
fn register_for_serialization(&self)
Source§impl ISolidColorBrush for CompositionBrush
impl ISolidColorBrush for CompositionBrush
Auto Trait Implementations§
impl !Freeze for CompositionBrush
impl !RefUnwindSafe for CompositionBrush
impl !Send for CompositionBrush
impl !Sync for CompositionBrush
impl !UnwindSafe for CompositionBrush
impl Unpin for CompositionBrush
impl UnsafeUnpin for CompositionBrush
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
affects_render, metadata
overrides). Read more