Struct feos_core::parameter::BinaryRecord
source · [−]pub struct BinaryRecord<I, B> {
pub id1: I,
pub id2: I,
pub model_record: B,
}
Expand description
A collection of parameters that model interactions between two substances or segments.
Fields
id1: I
Identifier of the first component
id2: I
Identifier of the second component
model_record: B
Binary interaction parameter(s)
Implementations
sourceimpl<I, B> BinaryRecord<I, B>
impl<I, B> BinaryRecord<I, B>
Trait Implementations
sourceimpl<I: Clone, B: Clone> Clone for BinaryRecord<I, B>
impl<I: Clone, B: Clone> Clone for BinaryRecord<I, B>
sourcefn clone(&self) -> BinaryRecord<I, B>
fn clone(&self) -> BinaryRecord<I, B>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<I: Debug, B: Debug> Debug for BinaryRecord<I, B>
impl<I: Debug, B: Debug> Debug for BinaryRecord<I, B>
sourceimpl<'de, I, B> Deserialize<'de> for BinaryRecord<I, B> where
I: Deserialize<'de>,
B: Deserialize<'de>,
impl<'de, I, B> Deserialize<'de> for BinaryRecord<I, B> where
I: Deserialize<'de>,
B: Deserialize<'de>,
sourcefn 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
sourceimpl<I, B> Display for BinaryRecord<I, B> where
I: Display,
B: Display,
impl<I, B> Display for BinaryRecord<I, B> where
I: Display,
B: Display,
Auto Trait Implementations
impl<I, B> RefUnwindSafe for BinaryRecord<I, B> where
B: RefUnwindSafe,
I: RefUnwindSafe,
impl<I, B> Send for BinaryRecord<I, B> where
B: Send,
I: Send,
impl<I, B> Sync for BinaryRecord<I, B> where
B: Sync,
I: Sync,
impl<I, B> Unpin for BinaryRecord<I, B> where
B: Unpin,
I: Unpin,
impl<I, B> UnwindSafe for BinaryRecord<I, B> where
B: UnwindSafe,
I: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more