#[repr(C)]pub struct SelectionTweenInfo {
pub past: LogicalRectVec,
pub current: LogicalRectVec,
pub t: f32,
}Expand description
Inputs for one selection-tween evaluation.
Carries the full PAST and CURRENT selection band geometry: all rectangles of the selection highlight, in display-list order — spanning multiple lines and, for a cross-block selection, multiple nodes.
Fields§
§past: LogicalRectVecSelection rectangles the previous frame RENDERED.
current: LogicalRectVecSelection rectangles the current layout actually wants.
t: f32Linear time progress 0.0..=1.0 (elapsed / configured duration).
Trait Implementations§
Source§impl Clone for SelectionTweenInfo
impl Clone for SelectionTweenInfo
Source§fn clone(&self) -> SelectionTweenInfo
fn clone(&self) -> SelectionTweenInfo
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 moreSource§impl Debug for SelectionTweenInfo
impl Debug for SelectionTweenInfo
Source§impl PartialEq for SelectionTweenInfo
impl PartialEq for SelectionTweenInfo
Source§impl PartialOrd for SelectionTweenInfo
impl PartialOrd for SelectionTweenInfo
impl StructuralPartialEq for SelectionTweenInfo
Auto Trait Implementations§
impl Freeze for SelectionTweenInfo
impl RefUnwindSafe for SelectionTweenInfo
impl Send for SelectionTweenInfo
impl Sync for SelectionTweenInfo
impl Unpin for SelectionTweenInfo
impl UnsafeUnpin for SelectionTweenInfo
impl UnwindSafe for SelectionTweenInfo
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