Struct gfx_hal::image::RenderDesc
source · pub struct RenderDesc {
pub channel: ChannelType,
pub level: Level,
pub layer: Option<Layer>,
}
Expand description
Texture render view descriptor. Legacy code to be removed, per msiglreith.
Fields
channel: ChannelType
level: Level
layer: Option<Layer>
Trait Implementations
sourceimpl Clone for RenderDesc
impl Clone for RenderDesc
sourcefn clone(&self) -> RenderDesc
fn clone(&self) -> RenderDesc
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 RenderDesc
impl Debug for RenderDesc
sourceimpl From<RenderDesc> for DepthStencilDesc
impl From<RenderDesc> for DepthStencilDesc
sourcefn from(rd: RenderDesc) -> DepthStencilDesc
fn from(rd: RenderDesc) -> DepthStencilDesc
Converts to this type from the input type.
sourceimpl Hash for RenderDesc
impl Hash for RenderDesc
sourceimpl PartialEq<RenderDesc> for RenderDesc
impl PartialEq<RenderDesc> for RenderDesc
sourcefn eq(&self, other: &RenderDesc) -> bool
fn eq(&self, other: &RenderDesc) -> bool
impl Copy for RenderDesc
impl Eq for RenderDesc
impl StructuralEq for RenderDesc
impl StructuralPartialEq for RenderDesc
Auto Trait Implementations
impl RefUnwindSafe for RenderDesc
impl Send for RenderDesc
impl Sync for RenderDesc
impl Unpin for RenderDesc
impl UnwindSafe for RenderDesc
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