pub struct AttributeChunkWindow {
pub attribute: ResidencyTicket,
pub start: ResidencyTicket,
pub end: ResidencyTicket,
pub interpolation: f32,
}Expand description
Bounded two-frame window for one scene-independent attribute column.
Fields§
§attribute: ResidencyTicketStable attribute ticket referenced by visual descriptors.
start: ResidencyTicketExact resident attribute generation at interpolation zero.
end: ResidencyTicketExact resident attribute generation at interpolation one.
interpolation: f32Closed-interval interpolation factor.
Implementations§
Source§impl AttributeChunkWindow
impl AttributeChunkWindow
Sourcepub fn new(
attribute: ResidencyTicket,
start: ResidencyTicket,
end: ResidencyTicket,
interpolation: f32,
) -> Result<Self, ChunkPlacementError>
pub fn new( attribute: ResidencyTicket, start: ResidencyTicket, end: ResidencyTicket, interpolation: f32, ) -> Result<Self, ChunkPlacementError>
Creates a topology- and type-stable paged attribute window.
§Errors
Rejects interpolation outside the closed unit interval.
Trait Implementations§
Source§impl Clone for AttributeChunkWindow
impl Clone for AttributeChunkWindow
impl Copy for AttributeChunkWindow
Source§impl Debug for AttributeChunkWindow
impl Debug for AttributeChunkWindow
Source§impl PartialEq for AttributeChunkWindow
impl PartialEq for AttributeChunkWindow
impl StructuralPartialEq for AttributeChunkWindow
Auto Trait Implementations§
impl Freeze for AttributeChunkWindow
impl RefUnwindSafe for AttributeChunkWindow
impl Send for AttributeChunkWindow
impl Sync for AttributeChunkWindow
impl Unpin for AttributeChunkWindow
impl UnsafeUnpin for AttributeChunkWindow
impl UnwindSafe for AttributeChunkWindow
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