pub trait FormatSelectionProgramExt<This, Predicate>where
This: FormatPredicateAlg<Predicate = Predicate> + FormatSelectionAlg<Predicate = Predicate>,{
// Required methods
fn best_progressive_format(&self) -> This::Selection;
fn preferred_progressive_format(
&self,
id: impl Into<String>,
) -> This::Selection;
}Expand description
Derives common selection programs by equating predicate carriers.
Required Methods§
Sourcefn best_progressive_format(&self) -> This::Selection
fn best_progressive_format(&self) -> This::Selection
Defines the most preferred progressive format.
Sourcefn preferred_progressive_format(&self, id: impl Into<String>) -> This::Selection
fn preferred_progressive_format(&self, id: impl Into<String>) -> This::Selection
Defines an exact format with a progressive fallback.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl<This, Predicate> FormatSelectionProgramExt<This, Predicate> for Thiswhere
This: FormatPredicateAlg<Predicate = Predicate> + FormatSelectionAlg<Predicate = Predicate>,
Derives common selection programs by equating predicate carriers.