pub struct MovingBound<S: Scalar> {
pub position: S,
pub stefan: Option<StefanCondition<S>>,
}Expand description
Moving boundary specification.
Fields§
§position: SCurrent position
stefan: Option<StefanCondition<S>>Stefan condition if applicable
Implementations§
Source§impl<S: Scalar> MovingBound<S>
impl<S: Scalar> MovingBound<S>
Sourcepub fn with_stefan(position: S, stefan: StefanCondition<S>) -> Self
pub fn with_stefan(position: S, stefan: StefanCondition<S>) -> Self
Create a moving boundary with Stefan condition.
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for MovingBound<S>where
S: Freeze,
impl<S> RefUnwindSafe for MovingBound<S>where
S: RefUnwindSafe,
impl<S> Send for MovingBound<S>
impl<S> Sync for MovingBound<S>
impl<S> Unpin for MovingBound<S>where
S: Unpin,
impl<S> UnsafeUnpin for MovingBound<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for MovingBound<S>where
S: UnwindSafe,
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
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