pub struct ProcessConfigBuilder(/* private fields */);Implementations§
Source§impl ProcessConfigBuilder
impl ProcessConfigBuilder
pub fn quality(self, q: u8) -> Self
pub fn tile_size(self, t: u32) -> Self
pub fn crop(self, c: bool) -> Self
pub fn bg_tolerance(self, t: u8) -> Self
pub fn output_format(self, f: OutputFormat) -> Self
pub fn target_model(self, m: VisionModel) -> Self
pub fn max_tiles(self, m: u32) -> Self
pub fn build(self) -> ProcessConfig
Auto Trait Implementations§
impl Freeze for ProcessConfigBuilder
impl RefUnwindSafe for ProcessConfigBuilder
impl Send for ProcessConfigBuilder
impl Sync for ProcessConfigBuilder
impl Unpin for ProcessConfigBuilder
impl UnsafeUnpin for ProcessConfigBuilder
impl UnwindSafe for ProcessConfigBuilder
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more