pub struct Operation {Show 13 fields
pub source: SourceImage,
pub preset: String,
pub fit: FitMode,
pub crop: CropPosition,
pub quality: u8,
pub format: FormatKind,
pub width: u32,
pub height: u32,
pub strip_metadata: bool,
pub content_hash_filenames: bool,
pub output_path: PathBuf,
pub output_project_path: String,
pub operation_hash: String,
}Fields§
§source: SourceImage§preset: String§fit: FitMode§crop: CropPosition§quality: u8§format: FormatKind§width: u32§height: u32§strip_metadata: bool§content_hash_filenames: bool§output_path: PathBuf§output_project_path: String§operation_hash: StringTrait Implementations§
Auto Trait Implementations§
impl Forget for Operation
impl Freeze for Operation
impl Move for Operation
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnsafeUnpin for Operation
impl UnwindSafe for Operation
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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