pub struct TrajectoryChunkWindow {
pub structure: ResidencyTicket,
pub start: ResidencyTicket,
pub end: ResidencyTicket,
pub interpolation: f32,
}Expand description
Bounded two-frame window for one topology-stable structure chunk.
Fields§
§structure: ResidencyTicketExact resident structure generation receiving interpolated coordinates.
start: ResidencyTicketExact resident provider-frame generation at interpolation zero.
end: ResidencyTicketExact resident provider-frame generation at interpolation one.
interpolation: f32Closed-interval interpolation factor.
Implementations§
Source§impl TrajectoryChunkWindow
impl TrajectoryChunkWindow
Sourcepub fn new(
structure: ResidencyTicket,
start: ResidencyTicket,
end: ResidencyTicket,
interpolation: f32,
) -> Result<Self, ChunkPlacementError>
pub fn new( structure: ResidencyTicket, start: ResidencyTicket, end: ResidencyTicket, interpolation: f32, ) -> Result<Self, ChunkPlacementError>
Creates a topology-stable two-frame window.
§Errors
Rejects interpolation outside the closed unit interval.
Trait Implementations§
Source§impl Clone for TrajectoryChunkWindow
impl Clone for TrajectoryChunkWindow
impl Copy for TrajectoryChunkWindow
Source§impl Debug for TrajectoryChunkWindow
impl Debug for TrajectoryChunkWindow
Source§impl PartialEq for TrajectoryChunkWindow
impl PartialEq for TrajectoryChunkWindow
impl StructuralPartialEq for TrajectoryChunkWindow
Auto Trait Implementations§
impl Freeze for TrajectoryChunkWindow
impl RefUnwindSafe for TrajectoryChunkWindow
impl Send for TrajectoryChunkWindow
impl Sync for TrajectoryChunkWindow
impl Unpin for TrajectoryChunkWindow
impl UnsafeUnpin for TrajectoryChunkWindow
impl UnwindSafe for TrajectoryChunkWindow
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