sudachi::dic::build

Trait AsDataSource

source
pub trait AsDataSource<'a> {
    // Required methods
    fn convert(self) -> DataSource<'a>;
    fn name(&self) -> String;
}

Required Methods§

source

fn convert(self) -> DataSource<'a>

source

fn name(&self) -> String

Implementations on Foreign Types§

source§

impl<'a> AsDataSource<'a> for &'a Path

source§

fn convert(self) -> DataSource<'a>

source§

fn name(&self) -> String

source§

impl<'a> AsDataSource<'a> for &'a [u8]

source§

fn convert(self) -> DataSource<'a>

source§

fn name(&self) -> String

source§

impl<'a, const N: usize> AsDataSource<'a> for &'a [u8; N]

source§

fn convert(self) -> DataSource<'a>

source§

fn name(&self) -> String

Implementors§

source§

impl<'a> AsDataSource<'a> for DataSource<'a>