Struct nifti::extension::ExtensionSequence
[−]
[src]
pub struct ExtensionSequence { /* fields omitted */ }
Data type for aggregating the extender code and all extensions.
Methods
impl ExtensionSequence
[src]
fn from_stream<B: ByteOrder, S: Read>(
extender: Extender,
source: S,
len: usize
) -> Result<Self>
[src]
extender: Extender,
source: S,
len: usize
) -> Result<Self>
Read a sequence of extensions from a source, up until len
bytes.
fn iter(&self) -> Iter<Extension>
[src]
Obtain an iterator to the extensions.
fn is_empty(&self) -> bool
[src]
Whether the sequence of extensions is empty.
fn len(&self) -> usize
[src]
Obtain the number of extensions available.
fn extender(&self) -> Extender
[src]
Get the extender code from this extension sequence.
Trait Implementations
impl Debug for ExtensionSequence
[src]
impl PartialEq for ExtensionSequence
[src]
fn eq(&self, __arg_0: &ExtensionSequence) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ExtensionSequence) -> bool
[src]
This method tests for !=
.
impl Clone for ExtensionSequence
[src]
fn clone(&self) -> ExtensionSequence
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
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?
fn into_iter(self) -> Self::IntoIter
[src]
Creates an iterator from a value. Read more