pub struct Config {
pub allow_unknown_chunks: bool,
}Expand description
Configuration for the WebP sanitizer.
Fields§
§allow_unknown_chunks: boolWhether to allow unknown chunk types at allowed positions during parsing.
The default is false.
Implementations§
source§impl Config
impl Config
sourcepub fn builder() -> ConfigBuilder
pub fn builder() -> ConfigBuilder
Construct a builder for Config.
See the documentation for ConfigBuilder.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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