Struct SectionGeometryRegistry
pub struct SectionGeometryRegistry { /* private fields */ }Expand description
The game’s SectionGeometryRenderers: the renderers in registration order.
Implementations§
§impl SectionGeometryRegistry
impl SectionGeometryRegistry
pub fn into_renderers(self) -> Vec<Arc<dyn SectionGeometry>>
pub fn into_renderers(self) -> Vec<Arc<dyn SectionGeometry>>
The renderers, in registration order.
Trait Implementations§
§impl Default for SectionGeometryRegistry
impl Default for SectionGeometryRegistry
§fn default() -> SectionGeometryRegistry
fn default() -> SectionGeometryRegistry
Returns the “default value” for a type. Read more
§impl SectionGeometryRenderers for SectionGeometryRegistry
impl SectionGeometryRenderers for SectionGeometryRegistry
§fn register(&mut self, renderer: Arc<dyn SectionGeometry>)
fn register(&mut self, renderer: Arc<dyn SectionGeometry>)
addRenderer(renderer): renderer adds its quads to every section the client meshes, in
registration order after the section’s own blocks.Auto Trait Implementations§
impl !RefUnwindSafe for SectionGeometryRegistry
impl !UnwindSafe for SectionGeometryRegistry
impl Freeze for SectionGeometryRegistry
impl Send for SectionGeometryRegistry
impl Sync for SectionGeometryRegistry
impl Unpin for SectionGeometryRegistry
impl UnsafeUnpin for SectionGeometryRegistry
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