pub enum AreaShape {
Rectangle {
width: f32,
height: f32,
},
Disc {
radius: f32,
},
}Expand description
Shape of the area light’s emitting surface.
Variants§
Trait Implementations§
impl Copy for AreaShape
impl StructuralPartialEq for AreaShape
Auto Trait Implementations§
impl Freeze for AreaShape
impl RefUnwindSafe for AreaShape
impl Send for AreaShape
impl Sync for AreaShape
impl Unpin for AreaShape
impl UnsafeUnpin for AreaShape
impl UnwindSafe for AreaShape
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