pub struct SurfaceSet { /* private fields */ }Implementations§
Source§impl SurfaceSet
impl SurfaceSet
pub fn new( level: usize, mesh: Mesh, objects: Vec<SurfaceStatistics>, intensities: IntensityTable, ) -> Self
pub fn from_parts( level: usize, geometry: PackedMesh, objects: Vec<SurfaceStatistics>, intensities: IntensityTable, ) -> Option<Self>
pub fn level(&self) -> usize
pub fn geometry(&self) -> &PackedMesh
pub fn objects(&self) -> &[SurfaceStatistics]
pub fn intensities(&self) -> &IntensityTable
pub fn object(&self, index: usize) -> Option<SurfaceStatistics>
pub fn object_count(&self) -> usize
pub fn is_empty(&self) -> bool
Trait Implementations§
Source§impl Clone for SurfaceSet
impl Clone for SurfaceSet
Source§impl Debug for SurfaceSet
impl Debug for SurfaceSet
Source§impl PartialEq for SurfaceSet
impl PartialEq for SurfaceSet
impl StructuralPartialEq for SurfaceSet
Auto Trait Implementations§
impl Freeze for SurfaceSet
impl RefUnwindSafe for SurfaceSet
impl Send for SurfaceSet
impl Sync for SurfaceSet
impl Unpin for SurfaceSet
impl UnsafeUnpin for SurfaceSet
impl UnwindSafe for SurfaceSet
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