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