Struct luminance::texture::Dim2 [] [src]

pub struct Dim2;

2D dimension.

Trait Implementations

impl Clone for Dim2
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Dim2
[src]

impl Debug for Dim2
[src]

Formats the value using the given formatter.

impl Dimensionable for Dim2
[src]

Dimension.

Width of the associated Size.

Height of the associated Size. If it doesn’t have one, set it to 1.

X offset.

Y offset. If it doesn’t have one, set it to 0.

Zero offset.

Depth of the associated Size. If it doesn’t have one, set it to 1.

Z offset. If it doesn’t have one, set it to 0.