pub struct Composite {
pub layer: u32,
pub parity: PageParity,
pub bounds: RectU16,
pub opacity: f32,
}Expand description
Fields§
§layer: u32The layer being composited, indexed into
CommandRecorder::layers.
parity: PageParityThe group holding the finished page.
bounds: RectU16Where the layer lands in the round’s target, in that target’s own coordinates.
opacity: f32Constant alpha applied while compositing, strictly between 0 and 1.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Composite
Auto Trait Implementations§
impl Freeze for Composite
impl RefUnwindSafe for Composite
impl Send for Composite
impl Sync for Composite
impl Unpin for Composite
impl UnsafeUnpin for Composite
impl UnwindSafe for Composite
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