pub struct ColorAttachment {
pub view: Id,
pub depth_slice: Option<u32>,
pub resolve_target: Id,
pub ops: Operations<Color>,
}Fields§
§view: Id§depth_slice: Option<u32>§resolve_target: Id§ops: Operations<Color>Trait Implementations§
Source§impl Clone for ColorAttachment
impl Clone for ColorAttachment
Source§fn clone(&self) -> ColorAttachment
fn clone(&self) -> ColorAttachment
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 ColorAttachment
impl Debug for ColorAttachment
Source§impl<'de> Deserialize<'de> for ColorAttachment
impl<'de> Deserialize<'de> for ColorAttachment
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ColorAttachment
impl RefUnwindSafe for ColorAttachment
impl Send for ColorAttachment
impl Sync for ColorAttachment
impl Unpin for ColorAttachment
impl UnsafeUnpin for ColorAttachment
impl UnwindSafe for ColorAttachment
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