Enum wgpu_core::resource::BufferAccessError [−][src]
pub enum BufferAccessError {
Device(DeviceError),
Invalid,
Destroyed,
AlreadyMapped,
MissingBufferUsage(MissingBufferUsageError),
NotMapped,
UnalignedRange,
UnalignedOffset {
offset: BufferAddress,
},
UnalignedRangeSize {
range_size: BufferAddress,
},
OutOfBoundsUnderrun {
index: BufferAddress,
min: BufferAddress,
},
OutOfBoundsOverrun {
index: BufferAddress,
max: BufferAddress,
},
}
Variants
Device(DeviceError)
Tuple Fields of Device
0: DeviceError
Fields of UnalignedOffset
offset: BufferAddress
Fields of UnalignedRangeSize
range_size: BufferAddress
Fields of OutOfBoundsUnderrun
index: BufferAddress
min: BufferAddress
Fields of OutOfBoundsOverrun
index: BufferAddress
max: BufferAddress
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for BufferAccessError
impl Send for BufferAccessError
impl Sync for BufferAccessError
impl Unpin for BufferAccessError
impl UnwindSafe for BufferAccessError
Blanket Implementations
Mutably borrows from an owned value. Read more