[−][src]Enum nobs_vkmem::Error
Errors that can be occure when using this crate
Variants
InvalidPageSize
Indicates, that the desired pagesize is too small.
Pages need to be at least of size bufferImageGranularity
,
that is defined in the physical device limits (or with get_min_pagesize).
AllocError
Indicates, that the allocator could not allocate a new page.
OutOfMemory
Indicates, that there is not enough free space available to bind resources.
OversizedBlock
Indicates that the requested resources can not be bound to a single block, because they are larger than a page.
InvalidMemoryType
Indicates, that this device does not have a memory type, that satisfies a combination of 'vk::MemoryRequirements' and 'vk::MemoryPropertyFlags'.
CreateBufferFailed(u32)
Indicates, that a buffer create returned unsuccessfull. The wrapped value is the index of the resource that could not be created.
CreateImageFailed(u32)
Indicates, that an image create returned unsuccessfull. The wrapped value is the index of the resource that could not be created.
BindMemoryFailed
Indicates, that binding a buffer or image failed
AlreadyBound
Indicates, that a resource was bound multiple times
MapError
indicates, that the requested memory region could not be mapped
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,