[−][src]Struct ucsf_nmr::Tile
Fields
axis_lengths: Vec<usize>
Amount of data points along each axis in this tile.
axis_starts: Vec<usize>
Index of first element of axis 1 (in relation to total axis). Index of first element of axis 2 (in relation to total axis). Index of first element of axis 2 (in relation to total axis).
data: &'a [f32]
View into underlying data
Methods
impl<'a> Tile<'a>
[src]
pub fn data(&self) -> &[f32]
[src]
pub fn iter_with_abolute_pos(&self) -> AbsolutePosValIter
[src]
Iterate over the values in a tile with their absolute position in the spectrum.
No specific order of the values should be assumes, which is why the position is provided in the iterator
Auto Trait Implementations
impl<'a> RefUnwindSafe for Tile<'a>
impl<'a> Send for Tile<'a>
impl<'a> Sync for Tile<'a>
impl<'a> Unpin for Tile<'a>
impl<'a> UnwindSafe for Tile<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,