pub struct SpotSet { /* private fields */ }Implementations§
Source§impl SpotSet
impl SpotSet
pub fn new(level: usize, spots: Vec<Spot>, intensities: IntensityTable) -> Self
pub fn level(&self) -> usize
pub fn spots(&self) -> &[Spot]
pub fn intensities(&self) -> &IntensityTable
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn mean_quality(&self) -> Option<f32>
Trait Implementations§
impl StructuralPartialEq for SpotSet
Auto Trait Implementations§
impl Freeze for SpotSet
impl RefUnwindSafe for SpotSet
impl Send for SpotSet
impl Sync for SpotSet
impl Unpin for SpotSet
impl UnsafeUnpin for SpotSet
impl UnwindSafe for SpotSet
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