pub struct TargetView {
pub target: TargetId,
pub mip: u32,
pub first_layer: u32,
pub layers: u32,
}Expand description
One subresource range of a target.
Fields§
§target: TargetId§mip: u32§first_layer: u32§layers: u32Layers (a volume’s slices, a cube’s faces); 0 for all.
Trait Implementations§
Source§impl Clone for TargetView
impl Clone for TargetView
impl Copy for TargetView
Source§impl Debug for TargetView
impl Debug for TargetView
impl Eq for TargetView
Source§impl PartialEq for TargetView
impl PartialEq for TargetView
Source§impl Serialize for TargetView
impl Serialize for TargetView
impl StructuralPartialEq for TargetView
Auto Trait Implementations§
impl Forget for TargetView
impl Freeze for TargetView
impl RefUnwindSafe for TargetView
impl Send for TargetView
impl Sync for TargetView
impl Unpin for TargetView
impl UnsafeUnpin for TargetView
impl UnwindSafe for TargetView
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.