Struct gfx::core::tex::ViewDesc
[−]
pub struct ViewDesc {
pub channel: ChannelType,
pub min: u8,
pub max: u8,
pub swizzle: Swizzle,
}Texture view descriptor.
Fields
channel: ChannelType
min: u8
max: u8
swizzle: Swizzle
Trait Implementations
impl Debug for ViewDesc
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Clone for ViewDesc
fn clone(&self) -> ViewDesc
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Copy for ViewDesc
impl Hash for ViewDesc
impl PartialOrd<ViewDesc> for ViewDesc
fn partial_cmp(&self, __arg_0: &ViewDesc) -> Option<Ordering>
fn lt(&self, __arg_0: &ViewDesc) -> bool
fn le(&self, __arg_0: &ViewDesc) -> bool
fn gt(&self, __arg_0: &ViewDesc) -> bool
fn ge(&self, __arg_0: &ViewDesc) -> bool
impl PartialEq<ViewDesc> for ViewDesc
fn eq(&self, __arg_0: &ViewDesc) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ViewDesc) -> bool
This method tests for !=.