pub struct OpacityScope {
pub node_id: u32,
pub opacity: f32,
}Expand description
One authored opacity boundary, ordered from the outermost ancestor to the painted node. Native surfaces can present independently while a canvas backend composes each scope.
Fields§
§node_id: u32§opacity: f32Trait Implementations§
Source§impl Clone for OpacityScope
impl Clone for OpacityScope
impl Copy for OpacityScope
Source§impl Debug for OpacityScope
impl Debug for OpacityScope
Source§impl Interpolatable for OpacityScope
impl Interpolatable for OpacityScope
Source§fn interpolate(&self, _other: &Self, _t: f64) -> Self
fn interpolate(&self, _other: &Self, _t: f64) -> Self
Source§impl PartialEq for OpacityScope
impl PartialEq for OpacityScope
impl StructuralPartialEq for OpacityScope
Auto Trait Implementations§
impl Freeze for OpacityScope
impl RefUnwindSafe for OpacityScope
impl Send for OpacityScope
impl Sync for OpacityScope
impl Unpin for OpacityScope
impl UnsafeUnpin for OpacityScope
impl UnwindSafe for OpacityScope
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.