pub enum FilamentType {
Incandescent,
Halogen,
Other,
}Variants§
Implementations§
Trait Implementations§
Source§impl AsRef<str> for FilamentType
impl AsRef<str> for FilamentType
Source§impl Clone for FilamentType
impl Clone for FilamentType
Source§fn clone(&self) -> FilamentType
fn clone(&self) -> FilamentType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FilamentType
Source§impl Debug for FilamentType
impl Debug for FilamentType
Source§impl<'de> Deserialize<'de> for FilamentType
impl<'de> Deserialize<'de> for FilamentType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for FilamentType
impl Display for FilamentType
impl Eq for FilamentType
Source§impl FromStr for FilamentType
impl FromStr for FilamentType
Source§impl Hash for FilamentType
impl Hash for FilamentType
Source§impl Ord for FilamentType
impl Ord for FilamentType
Source§fn cmp(&self, other: &FilamentType) -> Ordering
fn cmp(&self, other: &FilamentType) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FilamentType
impl PartialEq for FilamentType
Source§fn eq(&self, other: &FilamentType) -> bool
fn eq(&self, other: &FilamentType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for FilamentType
impl PartialOrd for FilamentType
Source§impl Serialize for FilamentType
impl Serialize for FilamentType
impl StructuralPartialEq for FilamentType
Source§impl TryFrom<&str> for FilamentType
impl TryFrom<&str> for FilamentType
Source§impl VariantNames for FilamentType
impl VariantNames for FilamentType
Auto Trait Implementations§
impl Freeze for FilamentType
impl RefUnwindSafe for FilamentType
impl Send for FilamentType
impl Sync for FilamentType
impl Unpin for FilamentType
impl UnsafeUnpin for FilamentType
impl UnwindSafe for FilamentType
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