Struct mosaic::TileParams[][src]

pub struct TileParams {
    pub color: Option<Color>,
    pub scale: Option<Point2>,
}

Additional parameters for drawing tiles.

Fields

The optional color to draw the tile with.

Scale factor for drawing. Default is 1.0 (no scaling).

Trait Implementations

impl From<(Option<Color>, Option<Point2>)> for TileParams
[src]

Performs the conversion.

impl From<(Option<Color>, Point2)> for TileParams
[src]

Performs the conversion.

impl From<(Color, Option<Point2>)> for TileParams
[src]

Performs the conversion.

impl From<(Color, Point2)> for TileParams
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for TileParams

impl Sync for TileParams