pub struct RegularPolygonDraw<'a> {
pub region: Rect<f32, f32>,
pub page: f32,
pub tint: Rgba<f32>,
/* private fields */
}Fields§
§region: Rect<f32, f32>§page: f32§tint: Rgba<f32>Implementations§
Trait Implementations§
Source§impl Drawable for RegularPolygonDraw<'_>
impl Drawable for RegularPolygonDraw<'_>
fn draw( &self, context: &mut DrawContext, graphics: &mut dyn GraphicsTarget<Vertex>, )
Auto Trait Implementations§
impl<'a> Freeze for RegularPolygonDraw<'a>
impl<'a> !RefUnwindSafe for RegularPolygonDraw<'a>
impl<'a> !Send for RegularPolygonDraw<'a>
impl<'a> !Sync for RegularPolygonDraw<'a>
impl<'a> Unpin for RegularPolygonDraw<'a>
impl<'a> !UnwindSafe for RegularPolygonDraw<'a>
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