#[repr(C)]pub struct MTLClearColor {
pub red: f64,
pub green: f64,
pub blue: f64,
pub alpha: f64,
}Expand description
Fields§
§red: f64§green: f64§blue: f64§alpha: f64Implementations§
Trait Implementations§
Source§impl Clone for MTLClearColor
impl Clone for MTLClearColor
Source§fn clone(&self) -> MTLClearColor
fn clone(&self) -> MTLClearColor
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 MTLClearColor
Auto Trait Implementations§
impl Freeze for MTLClearColor
impl RefUnwindSafe for MTLClearColor
impl Send for MTLClearColor
impl Sync for MTLClearColor
impl Unpin for MTLClearColor
impl UnsafeUnpin for MTLClearColor
impl UnwindSafe for MTLClearColor
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