pub struct PointSpotlight<'a> {Show 15 fields
pub angles: Angles,
pub disablereceiveshadows: bool,
pub hdrcolorscale: Option<f32>,
pub maxdxlevel: bool,
pub mindxlevel: Option<i32>,
pub origin: Vector,
pub parentname: Option<&'a str>,
pub renderamt: Option<u8>,
pub rendercolor: Color,
pub renderfx: Option<u8>,
pub rendermode: Option<u8>,
pub spawnflags: u32,
pub spotlightlength: f32,
pub spotlightwidth: f32,
pub targetname: Option<&'a str>,
}Fields§
§angles: Angles§disablereceiveshadows: bool§hdrcolorscale: Option<f32>§maxdxlevel: bool§mindxlevel: Option<i32>§origin: Vector§parentname: Option<&'a str>§renderamt: Option<u8>§rendercolor: Color§renderfx: Option<u8>§rendermode: Option<u8>§spawnflags: u32§spotlightlength: f32§spotlightwidth: f32§targetname: Option<&'a str>Trait Implementations§
Source§impl<'a> Clone for PointSpotlight<'a>
impl<'a> Clone for PointSpotlight<'a>
Source§fn clone(&self) -> PointSpotlight<'a>
fn clone(&self) -> PointSpotlight<'a>
Returns a duplicate 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<'a> Debug for PointSpotlight<'a>
impl<'a> Debug for PointSpotlight<'a>
Source§impl<'de: 'a, 'a> Deserialize<'de> for PointSpotlight<'a>
impl<'de: 'a, 'a> Deserialize<'de> for PointSpotlight<'a>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<'a> Freeze for PointSpotlight<'a>
impl<'a> RefUnwindSafe for PointSpotlight<'a>
impl<'a> Send for PointSpotlight<'a>
impl<'a> Sync for PointSpotlight<'a>
impl<'a> Unpin for PointSpotlight<'a>
impl<'a> UnwindSafe for PointSpotlight<'a>
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