pub struct RectangularBarrier {
pub x_start: f64,
pub x_end: f64,
pub height: f64,
}Expand description
Rectangular potential barrier.
Fields§
§x_start: f64§x_end: f64§height: f64Implementations§
Trait Implementations§
Source§impl Clone for RectangularBarrier
impl Clone for RectangularBarrier
Source§fn clone(&self) -> RectangularBarrier
fn clone(&self) -> RectangularBarrier
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RectangularBarrier
impl RefUnwindSafe for RectangularBarrier
impl Send for RectangularBarrier
impl Sync for RectangularBarrier
impl Unpin for RectangularBarrier
impl UnsafeUnpin for RectangularBarrier
impl UnwindSafe for RectangularBarrier
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