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