#[repr(C)]pub struct D3DCOLORVALUE {
pub r: f32,
pub g: f32,
pub b: f32,
pub a: f32,
}Fields§
§r: f32§g: f32§b: f32§a: f32Trait Implementations§
Source§impl Abi for D3DCOLORVALUE
impl Abi for D3DCOLORVALUE
Source§type Abi = D3DCOLORVALUE
type Abi = D3DCOLORVALUE
The abi representation of the implementing type. Read more
type DefaultType = D3DCOLORVALUE
Source§fn ok(value: &Self::DefaultType) -> Result<Self, Error>
fn ok(value: &Self::DefaultType) -> Result<Self, Error>
Converts from
Self::DefaultType to Result<T>.Source§fn set_abi(&mut self) -> *mut Self::Abi
fn set_abi(&mut self) -> *mut Self::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
Source§impl Clone for D3DCOLORVALUE
impl Clone for D3DCOLORVALUE
Source§fn clone(&self) -> D3DCOLORVALUE
fn clone(&self) -> D3DCOLORVALUE
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for D3DCOLORVALUE
Source§impl Debug for D3DCOLORVALUE
impl Debug for D3DCOLORVALUE
Source§impl Default for D3DCOLORVALUE
impl Default for D3DCOLORVALUE
impl Eq for D3DCOLORVALUE
Auto Trait Implementations§
impl Freeze for D3DCOLORVALUE
impl RefUnwindSafe for D3DCOLORVALUE
impl Send for D3DCOLORVALUE
impl Sync for D3DCOLORVALUE
impl Unpin for D3DCOLORVALUE
impl UnsafeUnpin for D3DCOLORVALUE
impl UnwindSafe for D3DCOLORVALUE
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