pub struct Rgba<T = f32>{
pub r: T,
pub g: T,
pub b: T,
pub a: T,
}
Expand description
RGBA
Fields§
§r: T
Red.
g: T
Green.
b: T
Blue.
a: T
Alpha.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Rgba<T>where
T: Freeze,
impl<T> RefUnwindSafe for Rgba<T>where
T: RefUnwindSafe,
impl<T> Send for Rgba<T>where
T: Send,
impl<T> Sync for Rgba<T>where
T: Sync,
impl<T> Unpin for Rgba<T>where
T: Unpin,
impl<T> UnwindSafe for Rgba<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
type Err = Infallible
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Err>
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.Source§impl<Target, Original> VectorizedInto<Target> for Originalwhere
Target: VectorizedFrom<Original>,
impl<Target, Original> VectorizedInto<Target> for Originalwhere
Target: VectorizedFrom<Original>,
Source§fn vectorized_into(self) -> Target
fn vectorized_into(self) -> Target
Performs the conversion.