pub struct PointLight {
pub x: f32,
pub y: f32,
pub z: f32,
}Expand description
A point light source.
fePointLight element in the SVG.
Fields§
§x: f32X location for the light source.
x in the SVG.
y: f32Y location for the light source.
y in the SVG.
z: f32Z location for the light source.
z in the SVG.
Trait Implementations§
Source§impl Clone for PointLight
impl Clone for PointLight
impl Copy for PointLight
Auto Trait Implementations§
impl Freeze for PointLight
impl RefUnwindSafe for PointLight
impl Send for PointLight
impl Sync for PointLight
impl Unpin for PointLight
impl UnsafeUnpin for PointLight
impl UnwindSafe for PointLight
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