Struct usvg_tree::filter::PointLight
source · 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: f32
X location for the light source.
x
in the SVG.
y: f32
Y location for the light source.
y
in the SVG.
z: f32
Z location for the light source.
z
in the SVG.
Trait Implementations§
source§impl Clone for PointLight
impl Clone for PointLight
source§fn clone(&self) -> PointLight
fn clone(&self) -> PointLight
Returns a copy 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 PointLight
impl Debug for PointLight
impl Copy for PointLight
Auto Trait Implementations§
impl RefUnwindSafe for PointLight
impl Send for PointLight
impl Sync for PointLight
impl Unpin 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