pub type Spectrum<T> = Buf<T, 1>;Expand description
A one-dimensional array of values, see Buf.
Aliased Type§
pub struct Spectrum<T> { /* private fields */ }Trait Implementations§
Source§impl FromProp for Spectrum<str>
The values as they are, sharing the listing they are a slice of.
impl FromProp for Spectrum<str>
The values as they are, sharing the listing they are a slice of.
Source§impl ToNames for Spectrum<str>
impl ToNames for Spectrum<str>
Source§fn iter_names(&self) -> Option<impl Iterator<Item = &str>>
fn iter_names(&self) -> Option<impl Iterator<Item = &str>>
The names, in the order they were given, absent to target all elements, borrowed
where they are: what a request copies into its own parameters, once, rather than
first into a buffer of their own, see
Spectrum::from_strs.Source§impl ToNames for &Spectrum<str>
impl ToNames for &Spectrum<str>
Source§fn iter_names(&self) -> Option<impl Iterator<Item = &str>>
fn iter_names(&self) -> Option<impl Iterator<Item = &str>>
The names, in the order they were given, absent to target all elements, borrowed
where they are: what a request copies into its own parameters, once, rather than
first into a buffer of their own, see
Spectrum::from_strs.Source§impl ToNamesNotAll for Spectrum<str>
impl ToNamesNotAll for Spectrum<str>
Source§fn iter_names_not_all(&self) -> impl Iterator<Item = &str>
fn iter_names_not_all(&self) -> impl Iterator<Item = &str>
Utility function to ensure no
None could be returned for the names.Source§fn to_names_not_all(self) -> Spectrum<str>
fn to_names_not_all(self) -> Spectrum<str>
Utility function to ensure no
None could be returned for the names.Source§impl ToNamesNotAll for &Spectrum<str>
impl ToNamesNotAll for &Spectrum<str>
Source§fn iter_names_not_all(&self) -> impl Iterator<Item = &str>
fn iter_names_not_all(&self) -> impl Iterator<Item = &str>
Utility function to ensure no
None could be returned for the names.Source§fn to_names_not_all(self) -> Spectrum<str>
fn to_names_not_all(self) -> Spectrum<str>
Utility function to ensure no
None could be returned for the names.