pub enum RenderCacheItem {
Geometry2D(Rc<Geometry2D>),
Geometry3D(Rc<Geometry3D>),
}Expand description
An item in the RenderCache.
Variants§
Geometry2D(Rc<Geometry2D>)
2D geometry. Note: The Rc can be removed eventually, once the implementation of RenderHash is finished.
Geometry3D(Rc<Geometry3D>)
3D geometry. Note: The Rc can be removed eventually, once the implementation of RenderHash is finished.
Auto Trait Implementations§
impl Freeze for RenderCacheItem
impl RefUnwindSafe for RenderCacheItem
impl !Send for RenderCacheItem
impl !Sync for RenderCacheItem
impl Unpin for RenderCacheItem
impl UnwindSafe for RenderCacheItem
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