Struct chemrust_scanner::FinalReport
source · pub struct FinalReport { /* private fields */ }Implementations§
source§impl FinalReport
impl FinalReport
pub fn new( sphere_sites: Vec<BondingSphere>, circles: Vec<BondingCircle>, cut_points: Vec<CoordinationPoint>, multi_cn_points: Vec<CoordinationPoint> ) -> Self
pub fn sphere_sites(&self) -> &[BondingSphere]
pub fn circles(&self) -> &[BondingCircle]
pub fn cut_points(&self) -> &[CoordinationPoint]
pub fn multi_cn_points(&self) -> &[CoordinationPoint]
pub fn report_spheres(&self) -> String
pub fn generate_sphere_models( &self, lattice_model: &BasicLatticeModel, new_element_symbol: &str ) -> Option<Vec<(String, BasicLatticeModel)>>
pub fn generate_circle_models( &self, lattice_model: &BasicLatticeModel, new_element_symbol: &str ) -> Option<Vec<(String, BasicLatticeModel)>>
pub fn generate_cut_point_models( &self, lattice_model: &BasicLatticeModel, new_element_symbol: &str ) -> Option<Vec<(String, BasicLatticeModel)>>
pub fn generate_multi_point_models( &self, lattice_model: &BasicLatticeModel, new_element_symbol: &str ) -> Option<Vec<(String, BasicLatticeModel)>>
pub fn visualize_atoms(&self) -> Vec<Atom>
Trait Implementations§
source§impl Clone for FinalReport
impl Clone for FinalReport
source§fn clone(&self) -> FinalReport
fn clone(&self) -> FinalReport
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for FinalReport
impl RefUnwindSafe for FinalReport
impl Send for FinalReport
impl Sync for FinalReport
impl Unpin for FinalReport
impl UnwindSafe for FinalReport
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<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moresource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.