pub enum PropertyType {
Simple(SimplePropertyType),
Color(ColorPropertyType),
}Expand description
A fixture property, either a simple single-channel attribute or a color.
- Simple(
SimplePropertyType) – Any non-color property such as dimmer, pan, gobo, etc. - Color(
ColorPropertyType) – A color channel (RGB, CMY, or HSV).
Variants§
Simple(SimplePropertyType)
Color(ColorPropertyType)
Trait Implementations§
Source§impl Clone for PropertyType
impl Clone for PropertyType
Source§fn clone(&self) -> PropertyType
fn clone(&self) -> PropertyType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PropertyType
impl RefUnwindSafe for PropertyType
impl Send for PropertyType
impl Sync for PropertyType
impl Unpin for PropertyType
impl UnwindSafe for PropertyType
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