pub struct R16Sfloat;
Trait Implementations
sourceimpl AcceptsPixels<f16> for R16Sfloat
impl AcceptsPixels<f16> for R16Sfloat
sourcefn ensure_accepts(&self) -> Result<(), IncompatiblePixelsType>
fn ensure_accepts(&self) -> Result<(), IncompatiblePixelsType>
Returns an error if
T
cannot be used as a source of pixels for Self
.sourceimpl FormatDesc for R16Sfloat
impl FormatDesc for R16Sfloat
type ClearValue = [f32; 1]
fn format(&self) -> Format
fn decode_clear_value(&self, val: Self::ClearValue) -> ClearValue
sourceimpl PossibleFloatFormatDesc for R16Sfloat
impl PossibleFloatFormatDesc for R16Sfloat
sourceimpl PossibleFloatOrCompressedFormatDesc for R16Sfloat
impl PossibleFloatOrCompressedFormatDesc for R16Sfloat
sourcefn is_float_or_compressed(&self) -> bool
fn is_float_or_compressed(&self) -> bool
Returns true if the format is a float or compressed format.
sourceimpl StrongStorage for R16Sfloat
impl StrongStorage for R16Sfloat
impl Copy for R16Sfloat
Auto Trait Implementations
impl RefUnwindSafe for R16Sfloat
impl Send for R16Sfloat
impl Sync for R16Sfloat
impl Unpin for R16Sfloat
impl UnwindSafe for R16Sfloat
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
sourceimpl<T> Content for T
impl<T> Content for T
sourcefn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
fn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
Builds a pointer to this type from a raw pointer.
sourcefn is_size_suitable(size: usize) -> bool
fn is_size_suitable(size: usize) -> bool
Returns true if the size is suitable to store a type like this.
sourcefn indiv_size() -> usize
fn indiv_size() -> usize
Returns the size of an individual element.