pub struct SurfaceDraw {
pub id: SurfaceId,
pub frame: Option<u64>,
pub bounds: Rect,
pub transform: Affine,
pub opacity: f32,
pub radii: Corners,
pub scissor: Option<Rect>,
}Fields§
§id: SurfaceId§frame: Option<u64>§bounds: Rect§transform: Affine§opacity: f32§radii: Corners§scissor: Option<Rect>Implementations§
Trait Implementations§
Source§impl Clone for SurfaceDraw
impl Clone for SurfaceDraw
impl Copy for SurfaceDraw
Source§impl Debug for SurfaceDraw
impl Debug for SurfaceDraw
Source§impl PartialEq for SurfaceDraw
impl PartialEq for SurfaceDraw
impl StructuralPartialEq for SurfaceDraw
Auto Trait Implementations§
impl Forget for SurfaceDraw
impl Freeze for SurfaceDraw
impl Move for SurfaceDraw
impl RefUnwindSafe for SurfaceDraw
impl Send for SurfaceDraw
impl Sync for SurfaceDraw
impl Unpin for SurfaceDraw
impl UnsafeUnpin for SurfaceDraw
impl UnwindSafe for SurfaceDraw
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