#[repr(u64)]pub enum MTLLoadAction {
DontCare = 0,
Load = 1,
Clear = 2,
}Expand description
Load action for render pass attachments
Variants§
DontCare = 0
Don’t care about existing contents
Load = 1
Load existing contents
Clear = 2
Clear to a value
Trait Implementations§
Source§impl Clone for MTLLoadAction
impl Clone for MTLLoadAction
Source§fn clone(&self) -> MTLLoadAction
fn clone(&self) -> MTLLoadAction
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 MTLLoadAction
impl Debug for MTLLoadAction
Source§impl Default for MTLLoadAction
impl Default for MTLLoadAction
Source§fn default() -> MTLLoadAction
fn default() -> MTLLoadAction
Returns the “default value” for a type. Read more
impl Copy for MTLLoadAction
Auto Trait Implementations§
impl Freeze for MTLLoadAction
impl RefUnwindSafe for MTLLoadAction
impl Send for MTLLoadAction
impl Sync for MTLLoadAction
impl Unpin for MTLLoadAction
impl UnwindSafe for MTLLoadAction
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