#[repr(C)]pub struct D2D_COLOR_F {
pub r: f32,
pub g: f32,
pub b: f32,
pub a: f32,
}
Fields§
§r: f32
§g: f32
§b: f32
§a: f32
Trait Implementations§
§impl Clone for D2D_COLOR_F
impl Clone for D2D_COLOR_F
§fn clone(&self) -> D2D_COLOR_F
fn clone(&self) -> D2D_COLOR_F
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for D2D_COLOR_F
impl Debug for D2D_COLOR_F
§impl PartialEq for D2D_COLOR_F
impl PartialEq for D2D_COLOR_F
§fn eq(&self, other: &D2D_COLOR_F) -> bool
fn eq(&self, other: &D2D_COLOR_F) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for D2D_COLOR_F
impl StructuralPartialEq for D2D_COLOR_F
Auto Trait Implementations§
impl Freeze for D2D_COLOR_F
impl RefUnwindSafe for D2D_COLOR_F
impl Send for D2D_COLOR_F
impl Sync for D2D_COLOR_F
impl Unpin for D2D_COLOR_F
impl UnwindSafe for D2D_COLOR_F
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)