pub struct Renderer {
pub bin: String,
pub timeout: Duration,
pub max_png: u64,
}Expand description
A renderer program and its limits.
Fields§
§bin: StringThe program (a path, or a name on PATH).
timeout: DurationHow long one render may take; the program is killed after it.
max_png: u64The largest PNG accepted, in bytes.
Implementations§
Trait Implementations§
impl Eq for Renderer
impl StructuralPartialEq for Renderer
Auto Trait Implementations§
impl Forget for Renderer
impl Freeze for Renderer
impl RefUnwindSafe for Renderer
impl Send for Renderer
impl Sync for Renderer
impl Unpin for Renderer
impl UnsafeUnpin for Renderer
impl UnwindSafe for Renderer
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