pub struct OpacitySpan {
pub start: usize,
pub end: usize,
pub opacity: f32,
pub depth: usize,
}Expand description
A contiguous range of paint items that share one group opacity.
Items keep their own alpha; the compositor applies opacity to the
already-composited range so overlapping children do not accumulate alpha.
Fields§
§start: usize§end: usize§opacity: f32§depth: usizeTrait Implementations§
Source§impl Clone for OpacitySpan
impl Clone for OpacitySpan
impl Copy for OpacitySpan
Source§impl Debug for OpacitySpan
impl Debug for OpacitySpan
Source§impl PartialEq for OpacitySpan
impl PartialEq for OpacitySpan
impl StructuralPartialEq for OpacitySpan
Auto Trait Implementations§
impl Freeze for OpacitySpan
impl RefUnwindSafe for OpacitySpan
impl Send for OpacitySpan
impl Sync for OpacitySpan
impl Unpin for OpacitySpan
impl UnsafeUnpin for OpacitySpan
impl UnwindSafe for OpacitySpan
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