Struct vulkano::format::R64G64Sfloat
source · pub struct R64G64Sfloat;
Trait Implementations
sourceimpl AcceptsPixels<[f64; 2]> for R64G64Sfloat
impl AcceptsPixels<[f64; 2]> for R64G64Sfloat
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 AcceptsPixels<f64> for R64G64Sfloat
impl AcceptsPixels<f64> for R64G64Sfloat
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 Clone for R64G64Sfloat
impl Clone for R64G64Sfloat
sourcefn clone(&self) -> R64G64Sfloat
fn clone(&self) -> R64G64Sfloat
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 R64G64Sfloat
impl Debug for R64G64Sfloat
sourceimpl Default for R64G64Sfloat
impl Default for R64G64Sfloat
sourcefn default() -> R64G64Sfloat
fn default() -> R64G64Sfloat
Returns the “default value” for a type. Read more
sourceimpl FormatDesc for R64G64Sfloat
impl FormatDesc for R64G64Sfloat
type ClearValue = [f32; 2]
fn format(&self) -> Format
fn decode_clear_value(&self, val: Self::ClearValue) -> ClearValue
sourceimpl PossibleFloatOrCompressedFormatDesc for R64G64Sfloat
impl PossibleFloatOrCompressedFormatDesc for R64G64Sfloat
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 R64G64Sfloat
impl StrongStorage for R64G64Sfloat
impl Copy for R64G64Sfloat
Auto Trait Implementations
impl RefUnwindSafe for R64G64Sfloat
impl Send for R64G64Sfloat
impl Sync for R64G64Sfloat
impl Unpin for R64G64Sfloat
impl UnwindSafe for R64G64Sfloat
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.