[][src]Struct mutiny::light::SpotLight

pub struct SpotLight {
    pub radius: f32,
    pub color: Rgb<f32>,
    pub strength: f32,
    pub spot_angle: Deg<f32>,
    pub spot_cos_cutoff: f32,
    pub spot_cos_inner_cutoff: f32,
    pub spot_blend: f32,
}

Fields

Methods

impl SpotLight
[src]

Trait Implementations

impl Clone for SpotLight
[src]

Performs copy-assignment from source. Read more

impl Copy for SpotLight
[src]

impl Debug for SpotLight
[src]

impl Component for SpotLight
[src]

impl<'a> DebugParameter for SpotLight
[src]

impl Serialize for SpotLight
[src]

impl<'de> Deserialize<'de> for SpotLight
[src]

Auto Trait Implementations

impl Send for SpotLight

impl Sync for SpotLight

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<C> ComponentSend for C where
    C: Component + Send
[src]

impl<C> ComponentThreadLocal for C where
    C: Component
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Serialize for T where
    T: Serialize + ?Sized
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> SetParameter for T
[src]

Sets value as a parameter of self.

impl<T> Same for T
[src]

Should always be Self

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 
[src]

impl<V> IntoVec for V
[src]

impl<V> IntoPnt for V
[src]

impl<B, P> IntoControlBuilder for P where
    B: BuilderFromProperty<P>, 
[src]

impl<T, U> IntoDuration for T where
    U: FromDuration<T>, 
[src]