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§
fn map_ref<'a>(self) -> impl CellsSchema<Source = &'a Self::Source>where
Self::Source: 'a,
Provided Methods§
fn as_ref(&self) -> impl CellsSchema<Source = &Self::Source>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.