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