pub struct Shade {
pub op: ShadeOp,
pub opacity: f64,
pub area: Option<Rect>,
}Expand description
A ShadeOp and how much of it shows.
Fields§
§op: ShadeOpThe operation.
opacity: f640 keeps the original pixels, 1 shows the result.
area: Option<Rect>Part of the scene the operation may change, in scene coordinates.
None is the whole image.
Trait Implementations§
impl StructuralPartialEq for Shade
Auto Trait Implementations§
impl Freeze for Shade
impl RefUnwindSafe for Shade
impl Send for Shade
impl Sync for Shade
impl Unpin for Shade
impl UnsafeUnpin for Shade
impl UnwindSafe for Shade
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