Struct sacn::packet::Universes
[−]
[src]
pub struct Universes<'a> { /* fields omitted */ }
List of universes.
Use From
trait to create from a list of u16
integers.
The universes must not contain duplicates and must be sorted from
low to high.
Methods
impl<'a> Universes<'a>
[src]
ⓘImportant traits for UniversesIter<'a>pub fn iter(&self) -> UniversesIter
[src]
ⓘImportant traits for UniversesIter<'a>
Create an Iterator over the contained universes.
pub fn len(&self) -> usize
[src]
The length of the universe list.
Trait Implementations
impl<'a> Debug for Universes<'a>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'a> Clone for Universes<'a>
[src]
fn clone(&self) -> Universes<'a>
[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<'a, B: ?Sized + AsRef<[u16]>> From<&'a B> for Universes<'a>
[src]
impl<'a> PartialEq for Universes<'a>
[src]
fn eq(&self, other: &Universes) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.