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