pub struct FilamentStatistics { /* private fields */ }Implementations§
Source§impl FilamentStatistics
impl FilamentStatistics
pub fn new( length: f64, diameter: f64, volume: f64, topology: FilamentTopology, centroid: [f32; 3], bounds: Bounds, ) -> Self
pub fn length(self) -> f64
pub fn diameter(self) -> f64
pub fn volume(self) -> f64
pub fn topology(self) -> FilamentTopology
pub fn branches(self) -> u32
pub fn terminals(self) -> u32
pub fn junctions(self) -> u32
pub fn nodes(self) -> u32
pub fn centroid(self) -> [f32; 3]
pub fn bounds(self) -> Bounds
Trait Implementations§
Source§impl Clone for FilamentStatistics
impl Clone for FilamentStatistics
impl Copy for FilamentStatistics
Source§impl Debug for FilamentStatistics
impl Debug for FilamentStatistics
Source§impl PartialEq for FilamentStatistics
impl PartialEq for FilamentStatistics
impl StructuralPartialEq for FilamentStatistics
Auto Trait Implementations§
impl Freeze for FilamentStatistics
impl RefUnwindSafe for FilamentStatistics
impl Send for FilamentStatistics
impl Sync for FilamentStatistics
impl Unpin for FilamentStatistics
impl UnsafeUnpin for FilamentStatistics
impl UnwindSafe for FilamentStatistics
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