Struct png::Limits [−][src]
pub struct Limits { pub bytes: usize, }
Limits on the resources the Decoder
is allowed too use
Fields
bytes: usize
maximum number of bytes the decoder is allowed to allocate, default is 64Mib
pub struct Limits { pub bytes: usize, }
Limits on the resources the Decoder
is allowed too use
bytes: usize
maximum number of bytes the decoder is allowed to allocate, default is 64Mib
impl RefUnwindSafe for Limits
impl Send for Limits
impl Sync for Limits
impl Unpin for Limits
impl UnwindSafe for Limits