pub struct Plugin {
pub name: String,
pub suffixes: Vec<String>,
pub mime_types: Vec<String>,
}
Expand description
Decoder plugin
Fields§
§name: String
name
suffixes: Vec<String>
supported file suffixes (extensions)
mime_types: Vec<String>
supported MIME-types
Trait Implementations§
source§impl PartialEq<Plugin> for Plugin
impl PartialEq<Plugin> for Plugin
impl StructuralPartialEq for Plugin
Auto Trait Implementations§
impl RefUnwindSafe for Plugin
impl Send for Plugin
impl Sync for Plugin
impl Unpin for Plugin
impl UnwindSafe for Plugin
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more