pub trait VisualProps: ElementBuilder {
// Provided methods
fn clip_to_bounds<M>(self, value: impl IntoProp<bool, M>) -> Self { ... }
fn clip<M>(self, value: impl IntoProp<Option<Ref<Geometry>>, M>) -> Self { ... }
fn cache_mode<M>(
self,
value: impl IntoProp<Option<Ref<CacheMode>>, M>,
) -> Self { ... }
fn effect<M>(self, value: impl IntoProp<Option<Rc<dyn IEffect>>, M>) -> Self { ... }
fn opacity_mask<M>(
self,
value: impl IntoProp<Option<Rc<dyn IBrush>>, M>,
) -> Self { ... }
fn render_transform<M>(
self,
value: impl IntoProp<Option<Rc<dyn ITransform>>, M>,
) -> Self { ... }
fn render_transform_origin<M>(
self,
value: impl IntoProp<RelativePoint, M>,
) -> Self { ... }
fn is_visible<M>(self, value: impl IntoProp<bool, M>) -> Self { ... }
fn opacity<M>(self, value: impl IntoProp<f64, M>) -> Self { ... }
fn flow_direction<M>(self, value: impl IntoProp<FlowDirection, M>) -> Self { ... }
fn z_index<M>(self, value: impl IntoProp<i32, M>) -> Self { ... }
}Expand description
The properties and routed events of Visual.
Provided Methods§
Sourcefn clip_to_bounds<M>(self, value: impl IntoProp<bool, M>) -> Self
fn clip_to_bounds<M>(self, value: impl IntoProp<bool, M>) -> Self
Sourcefn clip<M>(self, value: impl IntoProp<Option<Ref<Geometry>>, M>) -> Self
fn clip<M>(self, value: impl IntoProp<Option<Ref<Geometry>>, M>) -> Self
Sets Visual::clip_property.
Sourcefn effect<M>(self, value: impl IntoProp<Option<Rc<dyn IEffect>>, M>) -> Self
fn effect<M>(self, value: impl IntoProp<Option<Rc<dyn IEffect>>, M>) -> Self
Sets Visual::effect_property.
Sourcefn render_transform<M>(
self,
value: impl IntoProp<Option<Rc<dyn ITransform>>, M>,
) -> Self
fn render_transform<M>( self, value: impl IntoProp<Option<Rc<dyn ITransform>>, M>, ) -> Self
Sourcefn render_transform_origin<M>(
self,
value: impl IntoProp<RelativePoint, M>,
) -> Self
fn render_transform_origin<M>( self, value: impl IntoProp<RelativePoint, M>, ) -> Self
Sourcefn is_visible<M>(self, value: impl IntoProp<bool, M>) -> Self
fn is_visible<M>(self, value: impl IntoProp<bool, M>) -> Self
Sourcefn opacity<M>(self, value: impl IntoProp<f64, M>) -> Self
fn opacity<M>(self, value: impl IntoProp<f64, M>) -> Self
Sets Visual::opacity_property.
Sourcefn flow_direction<M>(self, value: impl IntoProp<FlowDirection, M>) -> Self
fn flow_direction<M>(self, value: impl IntoProp<FlowDirection, M>) -> Self
Sourcefn z_index<M>(self, value: impl IntoProp<i32, M>) -> Self
fn z_index<M>(self, value: impl IntoProp<i32, M>) -> Self
Sets Visual::z_index_property.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".