pub enum DifferenceScheme {
Central,
Forward,
Backward,
Central4,
}Expand description
Difference scheme type.
Variants§
Central
Central differences (second-order accurate)
Forward
Forward differences (first-order accurate)
Backward
Backward differences (first-order accurate)
Central4
Fourth-order central differences
Trait Implementations§
Source§impl Clone for DifferenceScheme
impl Clone for DifferenceScheme
Source§fn clone(&self) -> DifferenceScheme
fn clone(&self) -> DifferenceScheme
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 DifferenceScheme
Source§impl Debug for DifferenceScheme
impl Debug for DifferenceScheme
Source§impl PartialEq for DifferenceScheme
impl PartialEq for DifferenceScheme
impl StructuralPartialEq for DifferenceScheme
Auto Trait Implementations§
impl Freeze for DifferenceScheme
impl RefUnwindSafe for DifferenceScheme
impl Send for DifferenceScheme
impl Sync for DifferenceScheme
impl Unpin for DifferenceScheme
impl UnsafeUnpin for DifferenceScheme
impl UnwindSafe for DifferenceScheme
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> 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