#[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_ulonglongOffset into the memory object where the base level of the mipmap chain is.
formatDesc: cudaChannelFormatDescFormat of base level of the mipmap chain
extent: cudaExtentDimensions of base level of the mipmap chain
flags: c_uintFlags associated with CUDA mipmapped arrays. See ::cudaMallocMipmappedArray
numLevels: c_uintTotal 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