Struct gdnative_physics::common::Color[]

#[repr(C)]
pub struct Color { pub r: f32, pub g: f32, pub b: f32, pub a: f32, }

RGBA color with 32 bits floating point components.

Fields

Methods

impl Color

Trait Implementations

impl Clone for Color

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Color

Formats the value using the given formatter. Read more

impl<'l> From<&'l Color> for Variant

Performs the conversion.

impl Copy for Color

impl PartialEq<Color> for Color

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

This method tests for !=.

Auto Trait Implementations

impl Send for Color

impl Sync for Color