[−][src]Struct ucsf_nmr::AxisHeader
128 byte axis header
Fields
nucleus_name: String
data_points: u32
tile_size: u32
frequency: f32
spectral_width: f32
center: f32
remainder: Vec<u8>
Methods
impl AxisHeader
[src]
pub fn parse(input: &[u8]) -> Result<(&[u8], Self), UcsfError>
[src]
pub fn num_tiles(&self) -> u32
[src]
Returns the amount of tiles along this axis.
Trait Implementations
impl Clone for AxisHeader
[src]
fn clone(&self) -> AxisHeader
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for AxisHeader
[src]
impl PartialEq<AxisHeader> for AxisHeader
[src]
fn eq(&self, other: &AxisHeader) -> bool
[src]
fn ne(&self, other: &AxisHeader) -> bool
[src]
impl StructuralPartialEq for AxisHeader
[src]
Auto Trait Implementations
impl RefUnwindSafe for AxisHeader
impl Send for AxisHeader
impl Sync for AxisHeader
impl Unpin for AxisHeader
impl UnwindSafe for AxisHeader
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,