tvm_ffi
0.1.0-alpha.0
ArgInto
Ref
Required Associated Types
Target
Required Methods
to_ref
Implementations on Foreign Types
&'a bool
&'a f32
&'a f64
&'a i8
&'a i16
&'a i32
&'a i64
&'a isize
&'a u8
&'a u16
&'a u32
&'a u64
&'a usize
bool
f32
f64
i8
i16
i32
i64
isize
u8
u16
u32
u64
usize
Implementors
In tvm_
ffi::
function_
internal
tvm_ffi
::
function_internal
Trait
ArgIntoRef
Copy item path
Source
pub trait ArgIntoRef { type
Target
; // Required method fn
to_ref
(&self) -> &Self::
Target
; }
Required Associated Types
§
Source
type
Target
Required Methods
§
Source
fn
to_ref
(&self) -> &Self::
Target
Implementations on Foreign Types
§
Source
§
impl
ArgIntoRef
for
bool
Source
§
type
Target
=
bool
Source
§
fn
to_ref
(&self) -> &Self::
Target
Source
§
impl
ArgIntoRef
for
f32
Source
§
type
Target
=
f32
Source
§
fn
to_ref
(&self) -> &Self::
Target
Source
§
impl
ArgIntoRef
for
f64
Source
§
type
Target
=
f64
Source
§
fn
to_ref
(&self) -> &Self::
Target
Source
§
impl
ArgIntoRef
for
i8
Source
§
type
Target
=
i8
Source
§
fn
to_ref
(&self) -> &Self::
Target
Source
§
impl
ArgIntoRef
for
i16
Source
§
type
Target
=
i16
Source
§
fn
to_ref
(&self) -> &Self::
Target
Source
§
impl
ArgIntoRef
for
i32
Source
§
type
Target
=
i32
Source
§
fn
to_ref
(&self) -> &Self::
Target
Source
§
impl
ArgIntoRef
for
i64
Source
§
type
Target
=
i64
Source
§
fn
to_ref
(&self) -> &Self::
Target
Source
§
impl
ArgIntoRef
for
isize
Source
§
type
Target
=
isize
Source
§
fn
to_ref
(&self) -> &Self::
Target
Source
§
impl
ArgIntoRef
for
u8
Source
§
type
Target
=
u8
Source
§
fn
to_ref
(&self) -> &Self::
Target
Source
§
impl
ArgIntoRef
for
u16
Source
§
type
Target
=
u16
Source
§
fn
to_ref
(&self) -> &Self::
Target
Source
§
impl
ArgIntoRef
for
u32
Source
§
type
Target
=
u32
Source
§
fn
to_ref
(&self) -> &Self::
Target
Source
§
impl
ArgIntoRef
for
u64
Source
§
type
Target
=
u64
Source
§
fn
to_ref
(&self) -> &Self::
Target
Source
§
impl
ArgIntoRef
for
usize
Source
§
type
Target
=
usize
Source
§
fn
to_ref
(&self) -> &Self::
Target
Source
§
impl<'a>
ArgIntoRef
for &'a
bool
Source
§
type
Target
=
bool
Source
§
fn
to_ref
(&self) -> &Self::
Target
Source
§
impl<'a>
ArgIntoRef
for &'a
f32
Source
§
type
Target
=
f32
Source
§
fn
to_ref
(&self) -> &Self::
Target
Source
§
impl<'a>
ArgIntoRef
for &'a
f64
Source
§
type
Target
=
f64
Source
§
fn
to_ref
(&self) -> &Self::
Target
Source
§
impl<'a>
ArgIntoRef
for &'a
i8
Source
§
type
Target
=
i8
Source
§
fn
to_ref
(&self) -> &Self::
Target
Source
§
impl<'a>
ArgIntoRef
for &'a
i16
Source
§
type
Target
=
i16
Source
§
fn
to_ref
(&self) -> &Self::
Target
Source
§
impl<'a>
ArgIntoRef
for &'a
i32
Source
§
type
Target
=
i32
Source
§
fn
to_ref
(&self) -> &Self::
Target
Source
§
impl<'a>
ArgIntoRef
for &'a
i64
Source
§
type
Target
=
i64
Source
§
fn
to_ref
(&self) -> &Self::
Target
Source
§
impl<'a>
ArgIntoRef
for &'a
isize
Source
§
type
Target
=
isize
Source
§
fn
to_ref
(&self) -> &Self::
Target
Source
§
impl<'a>
ArgIntoRef
for &'a
u8
Source
§
type
Target
=
u8
Source
§
fn
to_ref
(&self) -> &Self::
Target
Source
§
impl<'a>
ArgIntoRef
for &'a
u16
Source
§
type
Target
=
u16
Source
§
fn
to_ref
(&self) -> &Self::
Target
Source
§
impl<'a>
ArgIntoRef
for &'a
u32
Source
§
type
Target
=
u32
Source
§
fn
to_ref
(&self) -> &Self::
Target
Source
§
impl<'a>
ArgIntoRef
for &'a
u64
Source
§
type
Target
=
u64
Source
§
fn
to_ref
(&self) -> &Self::
Target
Source
§
impl<'a>
ArgIntoRef
for &'a
usize
Source
§
type
Target
=
usize
Source
§
fn
to_ref
(&self) -> &Self::
Target
Implementors
§
Source
§
impl
ArgIntoRef
for
Shape
Source
§
type
Target
=
Shape
Source
§
impl
ArgIntoRef
for
Tensor
Source
§
type
Target
=
Tensor
Source
§
impl
ArgIntoRef
for
Error
Source
§
type
Target
=
Error
Source
§
impl
ArgIntoRef
for
Module
Source
§
type
Target
=
Module
Source
§
impl
ArgIntoRef
for
Function
Source
§
type
Target
=
Function
Source
§
impl
ArgIntoRef
for
Bytes
Source
§
type
Target
=
Bytes
Source
§
impl
ArgIntoRef
for
String
Source
§
type
Target
=
String
Source
§
impl<'a>
ArgIntoRef
for &'a
Shape
Source
§
type
Target
=
Shape
Source
§
impl<'a>
ArgIntoRef
for &'a
Tensor
Source
§
type
Target
=
Tensor
Source
§
impl<'a>
ArgIntoRef
for &'a
Error
Source
§
type
Target
=
Error
Source
§
impl<'a>
ArgIntoRef
for &'a
Module
Source
§
type
Target
=
Module
Source
§
impl<'a>
ArgIntoRef
for &'a
Function
Source
§
type
Target
=
Function
Source
§
impl<'a>
ArgIntoRef
for &'a
Bytes
Source
§
type
Target
=
Bytes
Source
§
impl<'a>
ArgIntoRef
for &'a
String
Source
§
type
Target
=
String