Struct rayon_logs::Rectangle[][src]

pub struct Rectangle {
    pub color: [f32; 3],
    pub opacity: f32,
    pub x: f64,
    pub y: f64,
    pub width: f64,
    pub height: f64,
    pub animation: Option<(u64, u64)>,
}

Tasks are animated as a set of rectangles.

Fields

color (rgb+alpha)

opacity

x coordinate

y coordinate

width

height

when animation starts and ends (if any)

Methods

impl Rectangle
[src]

Creates a new rectangle

Auto Trait Implementations

impl Send for Rectangle

impl Sync for Rectangle