Enum stitchy_core::AlignmentMode
source · pub enum AlignmentMode {
Grid,
Horizontal,
Vertical,
}
Expand description
Type used for running the image stitching process Layout configuration for the stitched result.
Options include:
- Grid, where a guess is made at a sensible number of rows and columns
- Horizontal, where all images are placed in a single row
- Vertical, where all images are placed in a single column
The grid layout is based on a guess of which should be the main axis (either horizontal or vertical), then guessing the main axis and cross axis dimensions, and then stitching images along the main axis until full and moving along the cross axis. Currently, this cannot be controlled.
Variants§
Trait Implementations§
source§impl Clone for AlignmentMode
impl Clone for AlignmentMode
source§fn clone(&self) -> AlignmentMode
fn clone(&self) -> AlignmentMode
Returns a copy of the value. Read more
1.0.0 · 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 AlignmentMode
impl Debug for AlignmentMode
source§impl Default for AlignmentMode
impl Default for AlignmentMode
source§fn default() -> AlignmentMode
fn default() -> AlignmentMode
Returns the “default value” for a type. Read more
source§impl PartialEq for AlignmentMode
impl PartialEq for AlignmentMode
source§fn eq(&self, other: &AlignmentMode) -> bool
fn eq(&self, other: &AlignmentMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AlignmentMode
impl StructuralPartialEq for AlignmentMode
Auto Trait Implementations§
impl RefUnwindSafe for AlignmentMode
impl Send for AlignmentMode
impl Sync for AlignmentMode
impl Unpin for AlignmentMode
impl UnwindSafe for AlignmentMode
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