#[repr(i32)]pub enum BackendDeviceType {
Cpu = 0,
Gpu = 1,
IGpu = 2,
Accel = 3,
Meta = 4,
}Variants§
Trait Implementations§
Source§impl Clone for BackendDeviceType
impl Clone for BackendDeviceType
Source§fn clone(&self) -> BackendDeviceType
fn clone(&self) -> BackendDeviceType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BackendDeviceType
Source§impl Debug for BackendDeviceType
impl Debug for BackendDeviceType
impl Eq for BackendDeviceType
Source§impl PartialEq for BackendDeviceType
impl PartialEq for BackendDeviceType
impl StructuralPartialEq for BackendDeviceType
Auto Trait Implementations§
impl Freeze for BackendDeviceType
impl RefUnwindSafe for BackendDeviceType
impl Send for BackendDeviceType
impl Sync for BackendDeviceType
impl Unpin for BackendDeviceType
impl UnsafeUnpin for BackendDeviceType
impl UnwindSafe for BackendDeviceType
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