pub struct OpacityProps {
pub layout: LayoutStyle,
pub opacity: f32,
}Expand description
A paint-only opacity group wrapper (ADR 0019).
This is intentionally layout-only + paint-only: it does not imply semantics beyond its children, and it is input-transparent (hit-test passes through).
Fields§
§layout: LayoutStyle§opacity: f32Trait Implementations§
Source§impl Clone for OpacityProps
impl Clone for OpacityProps
Source§fn clone(&self) -> OpacityProps
fn clone(&self) -> OpacityProps
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 moreSource§impl Debug for OpacityProps
impl Debug for OpacityProps
Source§impl Default for OpacityProps
impl Default for OpacityProps
impl Copy for OpacityProps
Auto Trait Implementations§
impl Freeze for OpacityProps
impl RefUnwindSafe for OpacityProps
impl Send for OpacityProps
impl Sync for OpacityProps
impl Unpin for OpacityProps
impl UnsafeUnpin for OpacityProps
impl UnwindSafe for OpacityProps
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