pub struct DecodeJpeg { /* private fields */ }
Expand description
Builder for the DecodeJpeg
operation.
Implementations§
Source§impl DecodeJpeg
impl DecodeJpeg
Sourcepub fn fancy_upscaling<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn fancy_upscaling<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the fancy_upscaling
attribute.
Sourcepub fn try_recover_truncated<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn try_recover_truncated<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the try_recover_truncated
attribute.
Sourcepub fn acceptable_fraction<ArgType: Into<f32>>(self, value: ArgType) -> Self
pub fn acceptable_fraction<ArgType: Into<f32>>(self, value: ArgType) -> Self
Sets the acceptable_fraction
attribute.
Sourcepub fn dct_method<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn dct_method<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the dct_method
attribute.
Sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
Trait Implementations§
Source§impl Debug for DecodeJpeg
impl Debug for DecodeJpeg
Source§impl Default for DecodeJpeg
impl Default for DecodeJpeg
Source§fn default() -> DecodeJpeg
fn default() -> DecodeJpeg
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DecodeJpeg
impl RefUnwindSafe for DecodeJpeg
impl Send for DecodeJpeg
impl Sync for DecodeJpeg
impl Unpin for DecodeJpeg
impl UnwindSafe for DecodeJpeg
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