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