torch_sys

Trait DoubleList

source
pub trait DoubleList {
    // Required methods
    fn as_ptr(&self) -> *const f64;
    fn len_i32(&self) -> i32;
}

Required Methods§

source

fn as_ptr(&self) -> *const f64

source

fn len_i32(&self) -> i32

Implementations on Foreign Types§

source§

impl DoubleList for &Box<[f64]>

source§

fn as_ptr(&self) -> *const f64

source§

fn len_i32(&self) -> i32

source§

impl DoubleList for &Vec<f64>

source§

fn as_ptr(&self) -> *const f64

source§

fn len_i32(&self) -> i32

source§

impl DoubleList for &[f64]

source§

fn as_ptr(&self) -> *const f64

source§

fn len_i32(&self) -> i32

source§

impl DoubleList for f64

source§

fn as_ptr(&self) -> *const f64

source§

fn len_i32(&self) -> i32

source§

impl DoubleList for Vec<f64>

source§

fn as_ptr(&self) -> *const f64

source§

fn len_i32(&self) -> i32

source§

impl DoubleList for [f64]

source§

fn as_ptr(&self) -> *const f64

source§

fn len_i32(&self) -> i32

source§

impl<const N: usize> DoubleList for &[f64; N]

source§

fn as_ptr(&self) -> *const f64

source§

fn len_i32(&self) -> i32

source§

impl<const N: usize> DoubleList for [f64; N]

source§

fn as_ptr(&self) -> *const f64

source§

fn len_i32(&self) -> i32

Implementors§