pub struct DepthView {
pub view: TargetView,
pub read_only_depth: bool,
pub read_only_stencil: bool,
}Expand description
A depth target as a draw binds it.
Fields§
§view: TargetView§read_only_depth: boolThe draw only reads the depth (the target can be sampled at the same time).
read_only_stencil: boolTrait Implementations§
impl Copy for DepthView
impl Eq for DepthView
impl StructuralPartialEq for DepthView
Auto Trait Implementations§
impl Forget for DepthView
impl Freeze for DepthView
impl RefUnwindSafe for DepthView
impl Send for DepthView
impl Sync for DepthView
impl Unpin for DepthView
impl UnsafeUnpin for DepthView
impl UnwindSafe for DepthView
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.