pub enum StyleSpecLightType {
Ambient,
Directional,
Flat,
}Expand description
Light type discriminant.
Variants§
Trait Implementations§
Source§impl Clone for StyleSpecLightType
impl Clone for StyleSpecLightType
Source§fn clone(&self) -> StyleSpecLightType
fn clone(&self) -> StyleSpecLightType
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 StyleSpecLightType
impl Debug for StyleSpecLightType
Source§impl<'de> Deserialize<'de> for StyleSpecLightType
impl<'de> Deserialize<'de> for StyleSpecLightType
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 PartialEq for StyleSpecLightType
impl PartialEq for StyleSpecLightType
Source§impl Serialize for StyleSpecLightType
impl Serialize for StyleSpecLightType
impl Copy for StyleSpecLightType
impl Eq for StyleSpecLightType
impl StructuralPartialEq for StyleSpecLightType
Auto Trait Implementations§
impl Freeze for StyleSpecLightType
impl RefUnwindSafe for StyleSpecLightType
impl Send for StyleSpecLightType
impl Sync for StyleSpecLightType
impl Unpin for StyleSpecLightType
impl UnsafeUnpin for StyleSpecLightType
impl UnwindSafe for StyleSpecLightType
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