pub struct CuImageBufferFormat {
pub width: u32,
pub height: u32,
pub stride: u32,
pub pixel_format: [u8; 4],
}Fields§
§width: u32§height: u32§stride: u32§pixel_format: [u8; 4]Implementations§
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for CuImageBufferFormat
impl<'__de, __Context> BorrowDecode<'__de, __Context> for CuImageBufferFormat
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for CuImageBufferFormat
impl Clone for CuImageBufferFormat
Source§fn clone(&self) -> CuImageBufferFormat
fn clone(&self) -> CuImageBufferFormat
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CuImageBufferFormat
impl Debug for CuImageBufferFormat
Source§impl<__Context> Decode<__Context> for CuImageBufferFormat
impl<__Context> Decode<__Context> for CuImageBufferFormat
Source§impl Default for CuImageBufferFormat
impl Default for CuImageBufferFormat
Source§fn default() -> CuImageBufferFormat
fn default() -> CuImageBufferFormat
Returns the “default value” for a type. Read more
Source§impl Encode for CuImageBufferFormat
impl Encode for CuImageBufferFormat
impl Copy for CuImageBufferFormat
Auto Trait Implementations§
impl Freeze for CuImageBufferFormat
impl RefUnwindSafe for CuImageBufferFormat
impl Send for CuImageBufferFormat
impl Sync for CuImageBufferFormat
impl Unpin for CuImageBufferFormat
impl UnwindSafe for CuImageBufferFormat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more