pub enum TensorBufferType {
Show 13 variants
Unknown,
HostMemory,
Ahwb,
Ion,
DmaBuf,
FastRpc,
GlBuffer,
GlTexture,
OpenClBuffer,
OpenClBufferFp16,
OpenClTexture,
OpenClTextureFp16,
OpenClBufferPacked,
}Variants§
Unknown
HostMemory
Ahwb
Ion
DmaBuf
FastRpc
GlBuffer
GlTexture
OpenClBuffer
OpenClBufferFp16
OpenClTexture
OpenClTextureFp16
OpenClBufferPacked
Implementations§
Source§impl TensorBufferType
impl TensorBufferType
pub fn to_c_enum(&self) -> c_uint
pub fn from_c_enum(enum_value: c_uint) -> Result<TensorBufferType, Error>
Auto Trait Implementations§
impl Freeze for TensorBufferType
impl RefUnwindSafe for TensorBufferType
impl Send for TensorBufferType
impl Sync for TensorBufferType
impl Unpin for TensorBufferType
impl UnsafeUnpin for TensorBufferType
impl UnwindSafe for TensorBufferType
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