Enum vulkano::device::DeviceCreationError [] [src]

pub enum DeviceCreationError {
    OutOfHostMemory,
    OutOfDeviceMemory,
}

Error that can be returned when creating a device.

Variants

OutOfHostMemory

There is no memory available on the host (ie. the CPU, RAM, etc.).

OutOfDeviceMemory

There is no memory available on the device (ie. video memory).

Trait Implementations

impl Eq for DeviceCreationError
[src]

impl PartialEq for DeviceCreationError
[src]

fn eq(&self, __arg_0: &DeviceCreationError) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Debug for DeviceCreationError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for DeviceCreationError
[src]

fn clone(&self) -> DeviceCreationError

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for DeviceCreationError
[src]

impl Error for DeviceCreationError
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>
1.0.0

The lower-level cause of this error, if any. Read more

impl Display for DeviceCreationError
[src]

fn fmt(&self, fmt: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.

impl From<Error> for DeviceCreationError
[src]

fn from(err: Error) -> DeviceCreationError

Performs the conversion.