pub struct LayerDraw {
pub list: Option<ListKey>,
pub transform: Affine,
pub opacity: f32,
pub fill: [f32; 4],
pub radii: Corners,
pub backdrop: Option<EffectDraw>,
pub scissor: Option<Rect>,
}Fields§
§list: Option<ListKey>§transform: Affine§opacity: f32§fill: [f32; 4]§radii: Corners§backdrop: Option<EffectDraw>§scissor: Option<Rect>Implementations§
Trait Implementations§
impl Copy for LayerDraw
impl StructuralPartialEq for LayerDraw
Auto Trait Implementations§
impl Forget for LayerDraw
impl Freeze for LayerDraw
impl Move for LayerDraw
impl RefUnwindSafe for LayerDraw
impl Send for LayerDraw
impl Sync for LayerDraw
impl Unpin for LayerDraw
impl UnsafeUnpin for LayerDraw
impl UnwindSafe for LayerDraw
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