pub struct RowOnWheel {
pub angle: f32,
pub offset: f32,
pub scale_x: f32,
pub scale_y: f32,
pub opacity: f32,
}Expand description
Where one row has ended up on the cylinder, and what it looks like there.
Fields§
§angle: f32How far round the cylinder the row has turned, in radians, signed.
offset: f32Where the row’s centre sits, in pixels from the viewport’s centre — always nearer to it than the flat strip would have put it.
scale_x: f32Horizontal scale: the row receding.
scale_y: f32Vertical scale: the row foreshortened, which is cos θ.
opacity: f32What is left of the row’s opacity.
Trait Implementations§
Source§impl Clone for RowOnWheel
impl Clone for RowOnWheel
impl Copy for RowOnWheel
Source§impl Debug for RowOnWheel
impl Debug for RowOnWheel
Source§impl PartialEq for RowOnWheel
impl PartialEq for RowOnWheel
impl StructuralPartialEq for RowOnWheel
Auto Trait Implementations§
impl Freeze for RowOnWheel
impl RefUnwindSafe for RowOnWheel
impl Send for RowOnWheel
impl Sync for RowOnWheel
impl Unpin for RowOnWheel
impl UnsafeUnpin for RowOnWheel
impl UnwindSafe for RowOnWheel
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