pub struct ConductanceState {
pub q: f64,
}
Expand description
Struct for tracking flow variables in Conductance
Fields§
§q: f64
Heat transfer rate [W]
Trait Implementations§
Source§impl Clone for ConductanceState
impl Clone for ConductanceState
Source§fn clone(&self) -> ConductanceState
fn clone(&self) -> ConductanceState
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 ConductanceState
impl Debug for ConductanceState
Source§impl Default for ConductanceState
impl Default for ConductanceState
Source§fn default() -> ConductanceState
fn default() -> ConductanceState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConductanceState
impl<'de> Deserialize<'de> for ConductanceState
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 PartialEq for ConductanceState
impl PartialEq for ConductanceState
Source§impl PartialOrd for ConductanceState
impl PartialOrd for ConductanceState
Source§impl Serialize for ConductanceState
impl Serialize for ConductanceState
impl Copy for ConductanceState
impl StructuralPartialEq for ConductanceState
Auto Trait Implementations§
impl Freeze for ConductanceState
impl RefUnwindSafe for ConductanceState
impl Send for ConductanceState
impl Sync for ConductanceState
impl Unpin for ConductanceState
impl UnwindSafe for ConductanceState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> SerdeAPI for Twhere
T: Serialize + for<'a> Deserialize<'a>,
impl<T> SerdeAPI for Twhere
T: Serialize + for<'a> Deserialize<'a>,
Source§fn to_file(&self, filename: &str) -> Result<(), Error>
fn to_file(&self, filename: &str) -> Result<(), Error>
Save current data structure to file. Method adaptively calls serialization methods
dependent on the suffix of the file given as str. Read more
Source§fn from_file(filename: &str) -> Result<Self, Error>where
Self: Sized + for<'de> Deserialize<'de>,
fn from_file(filename: &str) -> Result<Self, Error>where
Self: Sized + for<'de> Deserialize<'de>,
Read from file and return instantiated struct. Method adaptively calls deserialization
methods dependent on the suffix of the file name given as str.
Function returns a dynamic Error Result if it fails. Read more