#[repr(C)]pub struct cudaExternalMemoryMipmappedArrayDesc {
pub offset: c_ulonglong,
pub formatDesc: cudaChannelFormatDesc,
pub extent: cudaExtent,
pub flags: c_uint,
pub numLevels: c_uint,
}
Expand description
External memory mipmap descriptor
Fields§
§offset: c_ulonglong
Offset into the memory object where the base level of the mipmap chain is.
formatDesc: cudaChannelFormatDesc
Format of base level of the mipmap chain
extent: cudaExtent
Dimensions of base level of the mipmap chain
flags: c_uint
Flags associated with CUDA mipmapped arrays. See ::cudaMallocMipmappedArray
numLevels: c_uint
Total number of levels in the mipmap chain
Trait Implementations§
Source§impl Clone for cudaExternalMemoryMipmappedArrayDesc
impl Clone for cudaExternalMemoryMipmappedArrayDesc
Source§fn clone(&self) -> cudaExternalMemoryMipmappedArrayDesc
fn clone(&self) -> cudaExternalMemoryMipmappedArrayDesc
Returns a duplicate 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 moreimpl Copy for cudaExternalMemoryMipmappedArrayDesc
Auto Trait Implementations§
impl Freeze for cudaExternalMemoryMipmappedArrayDesc
impl RefUnwindSafe for cudaExternalMemoryMipmappedArrayDesc
impl Send for cudaExternalMemoryMipmappedArrayDesc
impl Sync for cudaExternalMemoryMipmappedArrayDesc
impl Unpin for cudaExternalMemoryMipmappedArrayDesc
impl UnwindSafe for cudaExternalMemoryMipmappedArrayDesc
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