Skip to main content

FileProcessed

Trait FileProcessed 

Source
pub trait FileProcessed {
    type Output;

    // Required methods
    fn into_output(self) -> Self::Output;
    fn output_ref(&self) -> &Self::Output;
    fn total_pages(&self) -> usize;
    fn pages_in_core_after(&self) -> usize;

    // Provided method
    fn pages_in_core_before(&self) -> Option<usize> { ... }
}

Required Associated Types§

Required Methods§

Source

fn into_output(self) -> Self::Output

Source

fn output_ref(&self) -> &Self::Output

Source

fn total_pages(&self) -> usize

Source

fn pages_in_core_after(&self) -> usize

Provided Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§