pub struct StaticGeometry { /* private fields */ }Implementations§
Source§impl StaticGeometry
impl StaticGeometry
pub const OCTREE_THRESHOLD: usize = 64usize
pub fn new(triangles: Vec<StaticTriangle>, save_triangles: bool) -> Self
pub fn set_save_triangles(&mut self, save_triangles: bool)
pub fn save_triangles(&self) -> bool
Trait Implementations§
Source§impl Clone for StaticGeometry
impl Clone for StaticGeometry
Source§fn clone(&self) -> StaticGeometry
fn clone(&self) -> StaticGeometry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StaticGeometry
impl Debug for StaticGeometry
Source§impl Default for StaticGeometry
impl Default for StaticGeometry
Source§fn default() -> StaticGeometry
fn default() -> StaticGeometry
Returns the “default value” for a type. Read more
Source§impl Visit for StaticGeometry
impl Visit for StaticGeometry
Auto Trait Implementations§
impl Freeze for StaticGeometry
impl RefUnwindSafe for StaticGeometry
impl Send for StaticGeometry
impl Sync for StaticGeometry
impl Unpin for StaticGeometry
impl UnwindSafe for StaticGeometry
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