Docs.rs
torch-sys-0.15.0
torch-sys 0.15.0
Docs.rs crate page
MIT/Apache-2.0
Links
Repository
crates.io
Source
Owners
LaurentMazare
Dependencies
libc ^0.2.0
normal
anyhow ^1.0.60
build
cc ^1.0.61
build
serde ^1.0
build
serde_json ^1.0
build
ureq ^2.6
build
zip ^0.6
build
Versions
0.33%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
torch_sys
0.15.0
IntList
Required Methods
as_ptr
len_i32
Implementations on Foreign Types
&Box<[i64]>
&Vec<i64>
&[i64; N]
&[i64]
Vec<i64>
[i64; N]
[i64]
i64
Implementors
In crate torch_sys
?
Trait
torch_sys
::
IntList
source
·
[
−
]
pub trait IntList { // Required methods fn
as_ptr
(&self) ->
*const
i64
;
fn
len_i32
(&self) ->
i32
; }
Required Methods
§
source
fn
as_ptr
(&self) ->
*const
i64
source
fn
len_i32
(&self) ->
i32
Implementations on Foreign Types
§
source
§
impl
IntList
for &
Box
<[
i64
]>
source
§
fn
as_ptr
(&self) ->
*const
i64
source
§
fn
len_i32
(&self) ->
i32
source
§
impl
IntList
for &
Vec
<
i64
>
source
§
fn
as_ptr
(&self) ->
*const
i64
source
§
fn
len_i32
(&self) ->
i32
source
§
impl
IntList
for &[
i64
]
source
§
fn
as_ptr
(&self) ->
*const
i64
source
§
fn
len_i32
(&self) ->
i32
source
§
impl
IntList
for
i64
source
§
fn
as_ptr
(&self) ->
*const
i64
source
§
fn
len_i32
(&self) ->
i32
source
§
impl
IntList
for
Vec
<
i64
>
source
§
fn
as_ptr
(&self) ->
*const
i64
source
§
fn
len_i32
(&self) ->
i32
source
§
impl
IntList
for [
i64
]
source
§
fn
as_ptr
(&self) ->
*const
i64
source
§
fn
len_i32
(&self) ->
i32
source
§
impl<const N:
usize
>
IntList
for &[
i64
;
N
]
source
§
fn
as_ptr
(&self) ->
*const
i64
source
§
fn
len_i32
(&self) ->
i32
source
§
impl<const N:
usize
>
IntList
for [
i64
;
N
]
source
§
fn
as_ptr
(&self) ->
*const
i64
source
§
fn
len_i32
(&self) ->
i32
Implementors
§