pub enum Reference {
One(String),
Two(String, String),
None,
}Expand description
Indicates how many reference files are passed
Variants§
One(String)
One file as a reference, usually either a CHGCAR_sum or spin.cube.
Two(String, String)
Two files as a reference, these files will be summed together.
None
No reference, just use the density file.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Reference
impl RefUnwindSafe for Reference
impl Send for Reference
impl Sync for Reference
impl Unpin for Reference
impl UnwindSafe for Reference
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