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