pub struct SmearingWidth {
pub width: f64,
pub unit: Option<EnergyUnit>,
}Expand description
Fields§
§width: f64§unit: Option<EnergyUnit>Trait Implementations§
Source§impl Clone for SmearingWidth
impl Clone for SmearingWidth
Source§fn clone(&self) -> SmearingWidth
fn clone(&self) -> SmearingWidth
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 SmearingWidth
impl Debug for SmearingWidth
Source§impl Default for SmearingWidth
impl Default for SmearingWidth
Source§fn default() -> SmearingWidth
fn default() -> SmearingWidth
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SmearingWidth
impl<'de> Deserialize<'de> for SmearingWidth
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 SmearingWidth
impl Display for SmearingWidth
Source§impl From<f64> for SmearingWidth
impl From<f64> for SmearingWidth
Source§fn from(value: f64) -> SmearingWidth
fn from(value: f64) -> SmearingWidth
Converts to this type from the input type.
Source§impl KeywordDisplay for SmearingWidth
impl KeywordDisplay for SmearingWidth
Source§impl PartialEq for SmearingWidth
impl PartialEq for SmearingWidth
Source§impl PartialOrd for SmearingWidth
impl PartialOrd for SmearingWidth
Source§impl Serialize for SmearingWidth
impl Serialize for SmearingWidth
impl Copy for SmearingWidth
impl StructuralPartialEq for SmearingWidth
Auto Trait Implementations§
impl Freeze for SmearingWidth
impl RefUnwindSafe for SmearingWidth
impl Send for SmearingWidth
impl Sync for SmearingWidth
impl Unpin for SmearingWidth
impl UnwindSafe for SmearingWidth
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