[−][src]Struct nifti::extension::ExtensionSequence
Data type for aggregating the extender code and all extensions.
Implementations
impl ExtensionSequence
[src]
pub fn from_reader<S, E>(
extender: Extender,
source: ByteOrdered<S, E>,
len: usize
) -> Result<Self> where
S: Read,
E: Endian,
[src]
extender: Extender,
source: ByteOrdered<S, E>,
len: usize
) -> Result<Self> where
S: Read,
E: Endian,
Read a sequence of extensions from a source, up until len
bytes.
pub fn iter(&self) -> Iter<'_, Extension>
[src]
Obtain an iterator to the extensions.
pub fn is_empty(&self) -> bool
[src]
Whether the sequence of extensions is empty.
pub fn len(&self) -> usize
[src]
Obtain the number of extensions available.
pub fn extender(&self) -> Extender
[src]
Get the extender code from this extension sequence.
Trait Implementations
impl Clone for ExtensionSequence
[src]
pub fn clone(&self) -> ExtensionSequence
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ExtensionSequence
[src]
impl IntoIterator for ExtensionSequence
[src]
type Item = Extension
The type of the elements being iterated over.
type IntoIter = IntoIter<Self::Item>
Which kind of iterator are we turning this into?
pub fn into_iter(self) -> Self::IntoIter
[src]
impl<'a> IntoIterator for &'a ExtensionSequence
[src]
type Item = &'a Extension
The type of the elements being iterated over.
type IntoIter = Iter<'a, Extension>
Which kind of iterator are we turning this into?
pub fn into_iter(self) -> Self::IntoIter
[src]
impl PartialEq<ExtensionSequence> for ExtensionSequence
[src]
pub fn eq(&self, other: &ExtensionSequence) -> bool
[src]
pub fn ne(&self, other: &ExtensionSequence) -> bool
[src]
impl StructuralPartialEq for ExtensionSequence
[src]
Auto Trait Implementations
impl RefUnwindSafe for ExtensionSequence
impl Send for ExtensionSequence
impl Sync for ExtensionSequence
impl Unpin for ExtensionSequence
impl UnwindSafe for ExtensionSequence
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,
pub 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> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub fn to_subset_unchecked(&self) -> SS
pub fn from_subset(element: &SS) -> SP
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,