Struct mint2d::Size[][src]

pub struct Size {
    pub width: f64,
    pub height: f64,
}

A simple struct that represents the size of an object.

Fields

The width of the object.

The height of the object.

Trait Implementations

impl Copy for Size
[src]

impl Clone for Size
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Size
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Size
[src]

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

This method tests for !=.

impl Default for Size
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for Size

impl Sync for Size