Trait glamour::SignedScalar

source ·
pub trait SignedScalar: Scalar<Vec2 = Self::Vec2s, Vec3 = Self::Vec3s, Vec4 = Self::Vec4s> {
    const NEG_ONE: Self;
}
Expand description

Signed scalar types (i32, f32, f64, etc.).

Required Associated Constants§

source

const NEG_ONE: Self

Negative one.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl SignedScalar for f32

source§

const NEG_ONE: Self = -1f32

source§

impl SignedScalar for f64

source§

const NEG_ONE: Self = -1f64

source§

impl SignedScalar for i16

source§

const NEG_ONE: Self = -1i16

source§

impl SignedScalar for i32

source§

const NEG_ONE: Self = -1i32

source§

impl SignedScalar for i64

source§

const NEG_ONE: Self = -1i64

Implementors§