pub struct CastepParamBuilder { /* private fields */ }Expand description
Builder for CastepParam.
Implementations§
Source§impl CastepParamBuilder
impl CastepParamBuilder
pub fn general_keywords(&mut self, value: General) -> &mut Self
pub fn units(&mut self, value: Units) -> &mut Self
pub fn pseudopotentials(&mut self, value: Pseudopotentials) -> &mut Self
pub fn band_structure(&mut self, value: BandStructure) -> &mut Self
pub fn basis_set(&mut self, value: BasisSet) -> &mut Self
pub fn electronic(&mut self, value: ElectronicParam) -> &mut Self
pub fn electro_min(&mut self, value: ElectroMinimization) -> &mut Self
pub fn density_mixing(&mut self, value: DensityMixingParams) -> &mut Self
pub fn population_analysis(&mut self, value: PopulationAnalysis) -> &mut Self
pub fn geom_opt(&mut self, value: GeomOpt) -> &mut Self
pub fn xc_correlation(&mut self, value: XcParam) -> &mut Self
Sourcepub fn build(&self) -> Result<CastepParam, CastepParamBuilderError>
pub fn build(&self) -> Result<CastepParam, CastepParamBuilderError>
Trait Implementations§
Source§impl Clone for CastepParamBuilder
impl Clone for CastepParamBuilder
Source§fn clone(&self) -> CastepParamBuilder
fn clone(&self) -> CastepParamBuilder
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 moreAuto Trait Implementations§
impl Freeze for CastepParamBuilder
impl RefUnwindSafe for CastepParamBuilder
impl Send for CastepParamBuilder
impl Sync for CastepParamBuilder
impl Unpin for CastepParamBuilder
impl UnwindSafe for CastepParamBuilder
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