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