pub struct NormalizeOutput {
pub output_dir: PathBuf,
pub frame_count: usize,
pub canvas_width: u32,
pub canvas_height: u32,
pub anchor_x: AnchorX,
pub anchor_y: AnchorY,
}Expand description
Result returned by normalize_frames.
Fields§
§output_dir: PathBufOutput directory containing normalized PNG frames.
frame_count: usizeNumber of frames written.
canvas_width: u32Final canvas width.
canvas_height: u32Final canvas height.
anchor_x: AnchorXHorizontal anchor used during export.
anchor_y: AnchorYVertical anchor used during export.
Trait Implementations§
Source§impl Clone for NormalizeOutput
impl Clone for NormalizeOutput
Source§fn clone(&self) -> NormalizeOutput
fn clone(&self) -> NormalizeOutput
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 moreAuto Trait Implementations§
impl Freeze for NormalizeOutput
impl RefUnwindSafe for NormalizeOutput
impl Send for NormalizeOutput
impl Sync for NormalizeOutput
impl Unpin for NormalizeOutput
impl UnsafeUnpin for NormalizeOutput
impl UnwindSafe for NormalizeOutput
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