[][src]Trait cslice::AsCSlice

pub trait AsCSlice<'a, T> {
    fn as_c_slice(&'a self) -> CSlice<'a, T>;
}

A cheap conversion to a CSlice.

Required methods

fn as_c_slice(&'a self) -> CSlice<'a, T>

Performs the conversion.

Loading content...

Implementations on Foreign Types

impl<'a> AsCSlice<'a, u8> for str[src]

impl<'a, T> AsCSlice<'a, T> for [T][src]

Loading content...

Implementors

Loading content...