pub trait CellsSchemaExt: CellsSchema {
    // Required method
    fn map_ref<'a>(self) -> impl CellsSchema<Source = &'a Self::Source>
       where Self::Source: 'a;

    // Provided method
    fn as_ref(&self) -> impl CellsSchema<Source = &Self::Source> { ... }
}
Expand description

Extension trait for CellsSchema.

Required Methods§

source

fn map_ref<'a>(self) -> impl CellsSchema<Source = &'a Self::Source>
where Self::Source: 'a,

Provided Methods§

source

fn as_ref(&self) -> impl CellsSchema<Source = &Self::Source>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> CellsSchemaExt for T
where T: CellsSchema,