Struct gfx_hal::image::ResourceDesc
source · pub struct ResourceDesc {
pub channel: ChannelType,
pub layer: Option<Layer>,
pub levels: Range<Level>,
pub swizzle: Swizzle,
}
Expand description
Texture resource view descriptor. Legacy code to be removed, per msiglreith.
Fields
channel: ChannelType
layer: Option<Layer>
levels: Range<Level>
swizzle: Swizzle
Trait Implementations
sourceimpl Clone for ResourceDesc
impl Clone for ResourceDesc
sourcefn clone(&self) -> ResourceDesc
fn clone(&self) -> ResourceDesc
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ResourceDesc
impl Debug for ResourceDesc
sourceimpl Hash for ResourceDesc
impl Hash for ResourceDesc
sourceimpl PartialEq<ResourceDesc> for ResourceDesc
impl PartialEq<ResourceDesc> for ResourceDesc
sourcefn eq(&self, other: &ResourceDesc) -> bool
fn eq(&self, other: &ResourceDesc) -> bool
impl Eq for ResourceDesc
impl StructuralEq for ResourceDesc
impl StructuralPartialEq for ResourceDesc
Auto Trait Implementations
impl RefUnwindSafe for ResourceDesc
impl Send for ResourceDesc
impl Sync for ResourceDesc
impl Unpin for ResourceDesc
impl UnwindSafe for ResourceDesc
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more