Struct tiled::Image [] [src]

pub struct Image {
    pub source: String,
    pub width: i32,
    pub height: i32,
    pub transparent_colour: Option<Colour>,
}

Fields

The filepath of the image

Trait Implementations

impl Debug for Image
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Image
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for Image
[src]

impl Clone for Image
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more