Struct vulkano::format::R16Unorm
[−]
[src]
pub struct R16Unorm;
Trait Implementations
impl Debug for R16Unorm
[src]
impl Copy for R16Unorm
[src]
impl Clone for R16Unorm
[src]
fn clone(&self) -> R16Unorm
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for R16Unorm
[src]
impl FormatDesc for R16Unorm
[src]
type ClearValue = [f32; 1]
fn format(&self) -> Format
[src]
fn decode_clear_value(&self, val: Self::ClearValue) -> ClearValue
[src]
impl PossibleFloatFormatDesc for R16Unorm
[src]
impl PossibleFloatOrCompressedFormatDesc for R16Unorm
[src]
fn is_float_or_compressed(&self) -> bool
[src]
Returns true if the format is a float or compressed format.
impl StrongStorage for R16Unorm
[src]
impl AcceptsPixels<u16> for R16Unorm
[src]
fn ensure_accepts(&self) -> Result<(), IncompatiblePixelsType>
[src]
Returns an error if T
cannot be used as a source of pixels for Self
.
fn rate(&self) -> u32
[src]
The number of T
s which make up a single pixel. Read more