pub enum LightSourceGroup {
Laser(Laser),
Arc(Arc),
Filament(Filament),
LightEmittingDiode(LightEmittingDiode),
GenericExcitationSource(GenericExcitationSource),
}Variants§
Laser(Laser)
Arc(Arc)
Filament(Filament)
LightEmittingDiode(LightEmittingDiode)
GenericExcitationSource(GenericExcitationSource)
Implementations§
Trait Implementations§
Source§impl AsRef<str> for LightSourceGroup
impl AsRef<str> for LightSourceGroup
Source§impl Clone for LightSourceGroup
impl Clone for LightSourceGroup
Source§fn clone(&self) -> LightSourceGroup
fn clone(&self) -> LightSourceGroup
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 moreSource§impl Debug for LightSourceGroup
impl Debug for LightSourceGroup
Source§impl<'de> Deserialize<'de> for LightSourceGroup
impl<'de> Deserialize<'de> for LightSourceGroup
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 LightSourceGroup
impl Display for LightSourceGroup
Source§impl FromStr for LightSourceGroup
impl FromStr for LightSourceGroup
Source§impl PartialEq for LightSourceGroup
impl PartialEq for LightSourceGroup
Source§fn eq(&self, other: &LightSourceGroup) -> bool
fn eq(&self, other: &LightSourceGroup) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LightSourceGroup
impl Serialize for LightSourceGroup
impl StructuralPartialEq for LightSourceGroup
Source§impl TryFrom<&str> for LightSourceGroup
impl TryFrom<&str> for LightSourceGroup
Source§impl VariantNames for LightSourceGroup
impl VariantNames for LightSourceGroup
Auto Trait Implementations§
impl Freeze for LightSourceGroup
impl RefUnwindSafe for LightSourceGroup
impl Send for LightSourceGroup
impl Sync for LightSourceGroup
impl Unpin for LightSourceGroup
impl UnsafeUnpin for LightSourceGroup
impl UnwindSafe for LightSourceGroup
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