pub struct FrameRect {
pub number: usize,
pub minutes: f64,
pub x: usize,
pub y: usize,
pub width: usize,
pub height: usize,
}Expand description
One frame on the sheet, in pixels.
Fields§
§number: usizeWhich frame on the roll, counting from one.
minutes: f64How long this frame was developed, in minutes. Filled in by
print().
x: usizeLeft edge of the image area.
y: usizeTop edge of the image area.
width: usizeWidth of the image area.
height: usizeHeight of the image area.
Trait Implementations§
impl Copy for FrameRect
impl StructuralPartialEq for FrameRect
Auto Trait Implementations§
impl Forget for FrameRect
impl Freeze for FrameRect
impl Move for FrameRect
impl RefUnwindSafe for FrameRect
impl Send for FrameRect
impl Sync for FrameRect
impl Unpin for FrameRect
impl UnsafeUnpin for FrameRect
impl UnwindSafe for FrameRect
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