pub struct PagePose {
pub dx: f32,
pub scale: f32,
pub opacity: f32,
}Expand description
How one page looks at a moment of a transition.
Fields§
§dx: f32How far it is moved along the reading direction, in fractions of the page’s width: positive towards the end edge.
scale: f32Its scale about its centre.
opacity: f32Its opacity.
Implementations§
Trait Implementations§
impl Copy for PagePose
impl StructuralPartialEq for PagePose
Auto Trait Implementations§
impl Freeze for PagePose
impl RefUnwindSafe for PagePose
impl Send for PagePose
impl Sync for PagePose
impl Unpin for PagePose
impl UnsafeUnpin for PagePose
impl UnwindSafe for PagePose
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