pub type LanguageSystemList<'a> = RecordList<'a, LanguageSystem<'a>>;
Expand description

A list of LanguageSystem records.

Aliased Type§

struct LanguageSystemList<'a> { /* private fields */ }

Implementations§

source§

impl<'a, T: RecordListItem<'a>> RecordList<'a, T>

source

pub fn len(&self) -> u16

Returns a number of items in the RecordList.

source

pub fn is_empty(&self) -> bool

Checks that RecordList is empty.

source

pub fn get(&self, index: u16) -> Option<T>

Returns RecordList value by index.

source

pub fn find(&self, tag: Tag) -> Option<T>

Returns RecordList value by Tag.

source

pub fn index(&self, tag: Tag) -> Option<u16>

Returns RecordList value index by Tag.

Trait Implementations§

source§

impl<'a, T: Clone + RecordListItem<'a>> Clone for RecordList<'a, T>

source§

fn clone(&self) -> RecordList<'a, T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'a, T: Debug + RecordListItem<'a>> Debug for RecordList<'a, T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, T: RecordListItem<'a>> IntoIterator for RecordList<'a, T>

§

type Item = T

The type of the elements being iterated over.
§

type IntoIter = RecordListIter<'a, T>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
source§

impl<'a, T: Copy + RecordListItem<'a>> Copy for RecordList<'a, T>