Struct egg_mode::entities::MediaSize [] [src]

pub struct MediaSize {
    pub w: i32,
    pub h: i32,
    pub resize: ResizeMode,
}

Represents the dimensions of a media file.

Fields

The size variant's width in pixels.

The size variant's height in pixels.

The method used to obtain the given dimensions.

Trait Implementations

impl Debug for MediaSize
[src]

[src]

Formats the value using the given formatter.

impl Copy for MediaSize
[src]

impl Clone for MediaSize
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more