torch_sys

Trait 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§