pub struct DrawTarget<'a> {
pub resolve: &'a Texture,
pub color: Option<&'a Texture>,
pub depth: Option<&'a Texture>,
pub clear: [f32; 4],
}Fields§
§resolve: &'a Texture§color: Option<&'a Texture>§depth: Option<&'a Texture>§clear: [f32; 4]Auto Trait Implementations§
impl<'a> Forget for DrawTarget<'a>
impl<'a> Freeze for DrawTarget<'a>
impl<'a> Move for DrawTarget<'a>
impl<'a> RefUnwindSafe for DrawTarget<'a>
impl<'a> Send for DrawTarget<'a>
impl<'a> Sync for DrawTarget<'a>
impl<'a> Unpin for DrawTarget<'a>
impl<'a> UnsafeUnpin for DrawTarget<'a>
impl<'a> UnwindSafe for DrawTarget<'a>
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