Enum truck_platform::LightType
source · pub enum LightType {
Point,
Uniform,
}
Expand description
the kinds of light sources: point or uniform
Variants§
Trait Implementations§
source§impl PartialEq<LightType> for LightType
impl PartialEq<LightType> for LightType
impl Copy for LightType
impl Eq for LightType
impl StructuralEq for LightType
impl StructuralPartialEq for LightType
Auto Trait Implementations§
impl RefUnwindSafe for LightType
impl Send for LightType
impl Sync for LightType
impl Unpin for LightType
impl UnwindSafe for LightType
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.