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§
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 Methods§
fn pages_in_core_before(&self) -> Option<usize>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".