pub struct ResolvedRenderProps {
pub background: Option<Brush>,
pub border_radius: CornerRadius,
pub corner_shape: CornerShape,
pub layer: RenderLayer,
pub material: Option<Material>,
pub node_id: Option<LayoutNodeId>,
pub shadow: Option<Shadow>,
pub transform: Option<Transform>,
pub opacity: f32,
pub clips_content: bool,
pub overflow_fade: OverflowFade,
}Expand description
Resolved render props with concrete values
This is the result of resolving DynRenderProps at render time.
All dynamic references have been replaced with their current values.
Fields§
§background: Option<Brush>Background fill (resolved)
border_radius: CornerRadiusCorner radius
corner_shape: CornerShapeCorner shape (superellipse n parameter per corner)
layer: RenderLayerRender layer
material: Option<Material>Material
node_id: Option<LayoutNodeId>Node ID
shadow: Option<Shadow>Drop shadow
transform: Option<Transform>Transform
opacity: f32Opacity (resolved)
clips_content: boolWhether this element clips its children
overflow_fade: OverflowFadeOverflow fade distances
Trait Implementations§
Source§impl Clone for ResolvedRenderProps
impl Clone for ResolvedRenderProps
Source§fn clone(&self) -> ResolvedRenderProps
fn clone(&self) -> ResolvedRenderProps
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ResolvedRenderProps
impl RefUnwindSafe for ResolvedRenderProps
impl Send for ResolvedRenderProps
impl Sync for ResolvedRenderProps
impl Unpin for ResolvedRenderProps
impl UnsafeUnpin for ResolvedRenderProps
impl UnwindSafe for ResolvedRenderProps
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
Mutably borrows from an owned value. Read more