pub enum ChunkRepresentation {
Points {
diameter_pixels: f32,
color: Rgba8,
},
Spacefill {
radius_scale: f32,
color: Rgba8,
},
}Expand description
Renderer-owned representation supported by the paged chunk path.
Variants§
Points
Pixel-stable circular points, batched across all resident chunks.
Spacefill
Analytic van der Waals spheres derived from provider element identities.
Implementations§
Source§impl ChunkRepresentation
impl ChunkRepresentation
Trait Implementations§
Source§impl Clone for ChunkRepresentation
impl Clone for ChunkRepresentation
impl Copy for ChunkRepresentation
Source§impl Debug for ChunkRepresentation
impl Debug for ChunkRepresentation
Source§impl PartialEq for ChunkRepresentation
impl PartialEq for ChunkRepresentation
impl StructuralPartialEq for ChunkRepresentation
Auto Trait Implementations§
impl Freeze for ChunkRepresentation
impl RefUnwindSafe for ChunkRepresentation
impl Send for ChunkRepresentation
impl Sync for ChunkRepresentation
impl Unpin for ChunkRepresentation
impl UnsafeUnpin for ChunkRepresentation
impl UnwindSafe for ChunkRepresentation
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