pub struct RenderIo<'a> {
pub cache: &'a mut TileCache,
pub compositor: &'a mut Compositor,
pub graph: &'a PoseGraph,
pub labels: &'a [u8],
pub now: f64,
}Expand description
What the session borrows for one step.
Fields§
§cache: &'a mut TileCache§compositor: &'a mut Compositor§graph: &'a PoseGraph§labels: &'a [u8]The atlas label plane, frame-sized.
now: f64The host’s clock, stamped on every tile this step writes.
Auto Trait Implementations§
impl<'a> !UnwindSafe for RenderIo<'a>
impl<'a> Freeze for RenderIo<'a>
impl<'a> RefUnwindSafe for RenderIo<'a>
impl<'a> Send for RenderIo<'a>
impl<'a> Sync for RenderIo<'a>
impl<'a> Unpin for RenderIo<'a>
impl<'a> UnsafeUnpin for RenderIo<'a>
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> 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