pub struct ThumbnailTask { /* private fields */ }Implementations§
Source§impl ThumbnailTask
impl ThumbnailTask
pub fn new(input: impl Into<Input>, output_format: impl Into<String>) -> Self
pub fn input_format(self, input_format: impl Into<String>) -> Self
pub fn engine(self, engine: impl Into<String>) -> Self
pub fn engine_version(self, engine_version: impl Into<String>) -> Self
pub fn width(self, width: u32) -> Self
pub fn height(self, height: u32) -> Self
pub fn dimensions(self, width: u32, height: u32) -> Self
pub fn fit(self, fit: impl Into<String>) -> Self
pub fn count(self, count: u32) -> Self
pub fn timestamp(self, timestamp: impl Into<String>) -> Self
pub fn filename(self, filename: impl Into<String>) -> Self
pub fn timeout(self, timeout: u64) -> Self
pub fn option(self, key: impl Into<String>, value: impl Into<Value>) -> Self
Trait Implementations§
Source§impl Clone for ThumbnailTask
impl Clone for ThumbnailTask
Source§fn clone(&self) -> ThumbnailTask
fn clone(&self) -> ThumbnailTask
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ThumbnailTask
impl Debug for ThumbnailTask
Source§impl From<ThumbnailTask> for TaskRequest
impl From<ThumbnailTask> for TaskRequest
Source§fn from(value: ThumbnailTask) -> Self
fn from(value: ThumbnailTask) -> Self
Converts to this type from the input type.
Source§impl Serialize for ThumbnailTask
impl Serialize for ThumbnailTask
Source§impl TaskPayload for ThumbnailTask
impl TaskPayload for ThumbnailTask
Auto Trait Implementations§
impl Freeze for ThumbnailTask
impl RefUnwindSafe for ThumbnailTask
impl Send for ThumbnailTask
impl Sync for ThumbnailTask
impl Unpin for ThumbnailTask
impl UnsafeUnpin for ThumbnailTask
impl UnwindSafe for ThumbnailTask
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