#[repr(u8)]pub enum ModulationType {
Slatsorientation = 0,
Slatsopenwork = 1,
Stripesalignment = 2,
Opacity = 3,
Ventilation = 4,
}Variants§
Slatsorientation = 0
Orientation of the slats
Slatsopenwork = 1
Aperture of the slats
Stripesalignment = 2
Alignment of blind stripes (Zebra)
Opacity = 3
Opacity of a surface
Ventilation = 4
Ventilation control
Implementations§
Trait Implementations§
Source§impl Clone for ModulationType
impl Clone for ModulationType
Source§fn clone(&self) -> ModulationType
fn clone(&self) -> ModulationType
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 moreSource§impl Debug for ModulationType
impl Debug for ModulationType
Source§impl<'de> Deserialize<'de> for ModulationType
impl<'de> Deserialize<'de> for ModulationType
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 From<ModulationType> for u8
impl From<ModulationType> for u8
Source§fn from(val: ModulationType) -> Self
fn from(val: ModulationType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ModulationType
impl PartialEq for ModulationType
Source§impl Serialize for ModulationType
impl Serialize for ModulationType
impl Copy for ModulationType
impl Eq for ModulationType
impl StructuralPartialEq for ModulationType
Auto Trait Implementations§
impl Freeze for ModulationType
impl RefUnwindSafe for ModulationType
impl Send for ModulationType
impl Sync for ModulationType
impl Unpin for ModulationType
impl UnwindSafe for ModulationType
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