Docs.rs
torch-sys-0.22.0
torch-sys 0.22.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.2
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
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
IntList
torch_
sys
0.22.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
§