pub struct IsolationWindow { /* private fields */ }Implementations§
Source§impl IsolationWindow
impl IsolationWindow
pub fn new_from_bounds(lower: Mz, upper: Mz, ce: f64) -> Self
pub fn new_from_center(center: Mz, width: Mz, ce: f64) -> Self
pub fn lower(&self) -> Mz
pub fn upper(&self) -> Mz
pub fn center(&self) -> Mz
pub fn width(&self) -> Mz
pub fn collision_energy(&self) -> f64
Trait Implementations§
Source§impl Clone for IsolationWindow
impl Clone for IsolationWindow
Source§fn clone(&self) -> IsolationWindow
fn clone(&self) -> IsolationWindow
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 moreSource§impl Debug for IsolationWindow
impl Debug for IsolationWindow
Source§impl Default for IsolationWindow
impl Default for IsolationWindow
Source§impl Hash for IsolationWindow
impl Hash for IsolationWindow
Source§impl PartialEq for IsolationWindow
impl PartialEq for IsolationWindow
Source§fn eq(&self, other: &IsolationWindow) -> bool
fn eq(&self, other: &IsolationWindow) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IsolationWindow
Auto Trait Implementations§
impl Freeze for IsolationWindow
impl RefUnwindSafe for IsolationWindow
impl Send for IsolationWindow
impl Sync for IsolationWindow
impl Unpin for IsolationWindow
impl UnsafeUnpin for IsolationWindow
impl UnwindSafe for IsolationWindow
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