#[repr(C)]pub struct contrastive_params {
pub sim: f32,
pub exp_sim: f32,
pub P: f32,
pub i: c_int,
pub j: c_int,
pub time_step_i: c_int,
pub time_step_j: c_int,
}Fields§
§sim: f32§exp_sim: f32§P: f32§i: c_int§j: c_int§time_step_i: c_int§time_step_j: c_intTrait Implementations§
Source§impl Clone for contrastive_params
impl Clone for contrastive_params
Source§fn clone(&self) -> contrastive_params
fn clone(&self) -> contrastive_params
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for contrastive_params
Auto Trait Implementations§
impl Freeze for contrastive_params
impl RefUnwindSafe for contrastive_params
impl Send for contrastive_params
impl Sync for contrastive_params
impl Unpin for contrastive_params
impl UnsafeUnpin for contrastive_params
impl UnwindSafe for contrastive_params
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