pub struct KPointConfig {
pub scheme: KPointScheme,
pub use_symmetry: bool,
pub verbose: bool,
pub full_grid: bool,
}Expand description
Configuration for k-points and related settings
Fields§
§scheme: KPointSchemeThe k-point scheme
use_symmetry: boolWhether to use symmetry reduction of k-points
verbose: boolVerbosity for k-point information
full_grid: boolWhether to use full grid (no symmetry reduction)
Trait Implementations§
Source§impl Clone for KPointConfig
impl Clone for KPointConfig
Source§fn clone(&self) -> KPointConfig
fn clone(&self) -> KPointConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 KPointConfig
impl Debug for KPointConfig
Source§impl<'de> Deserialize<'de> for KPointConfig
impl<'de> Deserialize<'de> for KPointConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for KPointConfig
impl RefUnwindSafe for KPointConfig
impl Send for KPointConfig
impl Sync for KPointConfig
impl Unpin for KPointConfig
impl UnsafeUnpin for KPointConfig
impl UnwindSafe for KPointConfig
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