calamine

Trait ToCellDeserializer

Source
pub trait ToCellDeserializer<'a>: CellType {
    type Deserializer: for<'de> Deserializer<'de, Error = DeError>;

    // Required methods
    fn to_cell_deserializer(&'a self, pos: (u32, u32)) -> Self::Deserializer;
    fn is_empty(&self) -> bool;
}
Expand description

Constructs a deserializer for a CellType.

Required Associated Types§

Source

type Deserializer: for<'de> Deserializer<'de, Error = DeError>

The deserializer.

Required Methods§

Source

fn to_cell_deserializer(&'a self, pos: (u32, u32)) -> Self::Deserializer

Construct a CellType deserializer at the specified position.

Source

fn is_empty(&self) -> bool

Assess if the cell is empty.

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.

Implementors§

Source§

impl<'a> ToCellDeserializer<'a> for Data

Source§

type Deserializer = DataDeserializer<'a>