pub enum SignatureFacet {
Mechanical,
Thermal,
Optical,
Acoustic,
Chemical,
}Expand description
Which facet of a MaterialSignature a cell is using.
The words are mechanical, thermal, optical, acoustic, and
chemical. optical is the colour reading and acoustic is the sound
reading of one EMF spectrum axis — not two materials, and not spatial axes.
Variants§
Implementations§
Source§impl SignatureFacet
impl SignatureFacet
Sourcepub fn parse(name: &str) -> Option<Self>
pub fn parse(name: &str) -> Option<Self>
Parse the facet word a cell names. Only the five stack facets.
Sourcepub fn reads_emf_spectrum(self) -> bool
pub fn reads_emf_spectrum(self) -> bool
Colour (optical) and sound (acoustic) read the EMF spectrum axis.
Sourcepub fn spectrum_reading(self) -> Option<SpectrumReading>
pub fn spectrum_reading(self) -> Option<SpectrumReading>
The named reading for this slot, if it is a spectrum reading.
Trait Implementations§
Source§impl Clone for SignatureFacet
impl Clone for SignatureFacet
impl Copy for SignatureFacet
Source§impl Debug for SignatureFacet
impl Debug for SignatureFacet
impl Eq for SignatureFacet
Source§impl PartialEq for SignatureFacet
impl PartialEq for SignatureFacet
impl StructuralPartialEq for SignatureFacet
Auto Trait Implementations§
impl Freeze for SignatureFacet
impl RefUnwindSafe for SignatureFacet
impl Send for SignatureFacet
impl Sync for SignatureFacet
impl Unpin for SignatureFacet
impl UnsafeUnpin for SignatureFacet
impl UnwindSafe for SignatureFacet
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.