#[repr(C)]pub struct MTLClearColor {
pub red: c_double,
pub green: c_double,
pub blue: c_double,
pub alpha: c_double,
}Available on crate feature
MTLRenderPass only.Expand description
Fields§
§red: c_double§green: c_double§blue: c_double§alpha: c_doubleTrait 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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MTLClearColor
impl Debug for MTLClearColor
Source§impl Encode for MTLClearColor
impl Encode for MTLClearColor
Source§impl PartialEq for MTLClearColor
impl PartialEq for MTLClearColor
Source§impl RefEncode for MTLClearColor
impl RefEncode for MTLClearColor
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for MTLClearColor
impl StructuralPartialEq 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.