Docs.rs
torch-sys-0.18.0
torch-sys 0.18.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
optional
serde_json ^1.0
build
optional
ureq ^2.6
build
optional
zip ^0.6
build
Versions
0.32%
of the crate is documented
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.18.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
torch_sys
Trait
IntList
Copy item path
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
§