Struct luminance::texture::Dim1[][src]

pub struct Dim1;

1D dimension.

Trait Implementations

impl Clone for Dim1
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Dim1
[src]

impl Debug for Dim1
[src]

Formats the value using the given formatter. Read more

impl Dimensionable for Dim1
[src]

Dimension.

Width of the associated Size.

X offset.

Zero offset.

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

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

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

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

Auto Trait Implementations

impl Send for Dim1

impl Sync for Dim1