scale_alias.rs - source
Description: Source of the Rust file `/Users/erlendbasso/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.32.1/src/geometry/scale_alias.rs`.
Keywords: rust, rustlang, rust-lang

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19

    use crate::geometry::Scale;

    /// A 1-dimensional scale.
    pub type Scale1<T> = Scale<T, 1>;

    /// A 2-dimensional scale.
    pub type Scale2<T> = Scale<T, 2>;

    /// A 3-dimensional scale.
    pub type Scale3<T> = Scale<T, 3>;

    /// A 4-dimensional scale.
    pub type Scale4<T> = Scale<T, 4>;

    /// A 5-dimensional scale.
    pub type Scale5<T> = Scale<T, 5>;

    /// A 6-dimensional scale.
    pub type Scale6<T> = Scale<T, 6>;