pub enum ExtraBands {
NextraBands(u32),
PercExtraBands(f64),
}Expand description
This keyword controls the percentage of extra bands in addition to the number of occupied bands. These extra bands are necessary for metals or finite temperature insulators.
§Note
It is not possible to have both the NBANDS keyword and either the NEXTRA_BANDS or PERC_EXTRA_BANDS keywords present in the same input file.
Variants§
Trait Implementations§
Source§impl Clone for ExtraBands
impl Clone for ExtraBands
Source§fn clone(&self) -> ExtraBands
fn clone(&self) -> ExtraBands
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 moreSource§impl Debug for ExtraBands
impl Debug for ExtraBands
Source§impl<'de> Deserialize<'de> for ExtraBands
impl<'de> Deserialize<'de> for ExtraBands
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
Source§impl Display for ExtraBands
impl Display for ExtraBands
Source§impl KeywordDisplay for ExtraBands
impl KeywordDisplay for ExtraBands
Source§impl PartialEq for ExtraBands
impl PartialEq for ExtraBands
Source§impl PartialOrd for ExtraBands
impl PartialOrd for ExtraBands
Source§impl Serialize for ExtraBands
impl Serialize for ExtraBands
impl Copy for ExtraBands
impl StructuralPartialEq for ExtraBands
Auto Trait Implementations§
impl Freeze for ExtraBands
impl RefUnwindSafe for ExtraBands
impl Send for ExtraBands
impl Sync for ExtraBands
impl Unpin for ExtraBands
impl UnwindSafe for ExtraBands
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