pub struct Charge(/* private fields */);Expand description
Description
This keyword specifies the total charge of the system. It can be used instead of NELECTRONS.
It is not possible to specify the NELECTRONS, NUP, or NDOWN keywords when the CHARGE keyword is specified.
Default
0
Example
CHARGE : 3
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Charge
impl<'de> Deserialize<'de> for Charge
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 KeywordDisplay for Charge
impl KeywordDisplay for Charge
Source§impl PartialOrd for Charge
impl PartialOrd for Charge
impl Copy for Charge
impl StructuralPartialEq for Charge
Auto Trait Implementations§
impl Freeze for Charge
impl RefUnwindSafe for Charge
impl Send for Charge
impl Sync for Charge
impl Unpin for Charge
impl UnwindSafe for Charge
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