pub struct PanFrame {
pub origin_px: (f32, f32),
pub zoom: u8,
}Expand description
A frame of a Pan: where its picture is behind the screen, as plain
data.
Fields§
§origin_px: (f32, f32)The picture’s pixel at the screen’s top-left (Pan::origin_px).
zoom: u8Screen pixels per picture pixel.
Trait Implementations§
impl Copy for PanFrame
impl StructuralPartialEq for PanFrame
Auto Trait Implementations§
impl Freeze for PanFrame
impl RefUnwindSafe for PanFrame
impl Send for PanFrame
impl Sync for PanFrame
impl Unpin for PanFrame
impl UnsafeUnpin for PanFrame
impl UnwindSafe for PanFrame
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