pub enum SweepDirection {
LeftToRight,
RightToLeft,
}Expand description
Direction of a half-sweep.
Variants§
LeftToRight
Steps from site = 0 to site = n_sites - 2. Each step’s
SVD splits the optimized 2-site block into a left-isometric
site i and an S·Vt-carrying site i + 1.
RightToLeft
Steps from site = n_sites - 2 down to site = 0. Each
step’s SVD splits into a U·S-carrying site i and a
right-isometric site i + 1.
Trait Implementations§
Source§impl Clone for SweepDirection
impl Clone for SweepDirection
Source§fn clone(&self) -> SweepDirection
fn clone(&self) -> SweepDirection
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 SweepDirection
Source§impl Debug for SweepDirection
impl Debug for SweepDirection
impl Eq for SweepDirection
Source§impl PartialEq for SweepDirection
impl PartialEq for SweepDirection
Source§fn eq(&self, other: &SweepDirection) -> bool
fn eq(&self, other: &SweepDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SweepDirection
Auto Trait Implementations§
impl Freeze for SweepDirection
impl RefUnwindSafe for SweepDirection
impl Send for SweepDirection
impl Sync for SweepDirection
impl Unpin for SweepDirection
impl UnsafeUnpin for SweepDirection
impl UnwindSafe for SweepDirection
Blanket Implementations§
impl<T> Boilerplate for T
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> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T, U> Imply<T> for U
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more