pub trait ModeExt:
Copy
+ Default
+ PartialEq
+ Eq
+ Hash {
// Required methods
fn get_list() -> Vec<Self>;
fn as_str_id(&self) -> &'static str;
fn label(&self) -> &'static str;
// Provided methods
fn image_tag_filters(&self) -> Option<Vec<i16>> { ... }
fn image_tag_priorities(&self) -> Option<Vec<i16>> { ... }
}
Expand description
Extenstion trait for modes
Required Methods§
Provided Methods§
Sourcefn image_tag_filters(&self) -> Option<Vec<i16>>
fn image_tag_filters(&self) -> Option<Vec<i16>>
Image tag filters for search The actual ImageTag enum variants are in components
Sourcefn image_tag_priorities(&self) -> Option<Vec<i16>>
fn image_tag_priorities(&self) -> Option<Vec<i16>>
Image tag priorities for search The actual ImageTag enum variants are in components
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.
Implementations on Foreign Types§
Source§impl ModeExt for ()
impl ModeExt for ()
impl ModeExt for empty modes this is a special case and should only be used where the module genuinely ignores the mode one example is the Cover module