Struct usvg::FeSpotLight [−][src]
pub struct FeSpotLight { pub x: f64, pub y: f64, pub z: f64, pub points_at_x: f64, pub points_at_y: f64, pub points_at_z: f64, pub specular_exponent: PositiveNumber, pub limiting_cone_angle: Option<f64>, }
A spot light source.
feSpotLight
element in the SVG.
Fields
x: f64
X location for the light source.
x
in the SVG.
y: f64
Y location for the light source.
y
in the SVG.
z: f64
Z location for the light source.
z
in the SVG.
points_at_x: f64
X point at which the light source is pointing.
pointsAtX
in the SVG.
points_at_y: f64
Y point at which the light source is pointing.
pointsAtY
in the SVG.
points_at_z: f64
Z point at which the light source is pointing.
pointsAtZ
in the SVG.
specular_exponent: PositiveNumber
Exponent value controlling the focus for the light source.
specularExponent
in the SVG.
limiting_cone_angle: Option<f64>
A limiting cone which restricts the region where the light is projected.
limitingConeAngle
in the SVG.
Trait Implementations
impl Clone for FeSpotLight
[src]
fn clone(&self) -> FeSpotLight
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for FeSpotLight
[src]
impl Debug for FeSpotLight
[src]
Auto Trait Implementations
impl RefUnwindSafe for FeSpotLight
impl Send for FeSpotLight
impl Sync for FeSpotLight
impl Unpin for FeSpotLight
impl UnwindSafe for FeSpotLight
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,