pub struct SpinChain {
pub spins: Vec<SpinState>,
pub coupling: f64,
}Expand description
Heisenberg spin chain with nearest-neighbor coupling.
Fields§
§spins: Vec<SpinState>§coupling: f64Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SpinChain
impl RefUnwindSafe for SpinChain
impl Send for SpinChain
impl Sync for SpinChain
impl Unpin for SpinChain
impl UnsafeUnpin for SpinChain
impl UnwindSafe for SpinChain
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