pub struct LightParam(pub i64);
Tuple Fields§
§0: i64
Implementations§
Source§impl LightParam
impl LightParam
pub const ENERGY: LightParam
pub const INDIRECT_ENERGY: LightParam
pub const SIZE: LightParam
pub const SPECULAR: LightParam
pub const RANGE: LightParam
pub const ATTENUATION: LightParam
pub const SPOT_ANGLE: LightParam
pub const SPOT_ATTENUATION: LightParam
pub const CONTACT_SHADOW_SIZE: LightParam
pub const SHADOW_MAX_DISTANCE: LightParam
pub const SHADOW_SPLIT_1_OFFSET: LightParam
pub const SHADOW_SPLIT_2_OFFSET: LightParam
pub const SHADOW_SPLIT_3_OFFSET: LightParam
pub const SHADOW_NORMAL_BIAS: LightParam
pub const SHADOW_BIAS: LightParam
pub const SHADOW_BIAS_SPLIT_SCALE: LightParam
pub const MAX: LightParam
Trait Implementations§
Source§impl Clone for LightParam
impl Clone for LightParam
Source§fn clone(&self) -> LightParam
fn clone(&self) -> LightParam
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LightParam
impl Debug for LightParam
Source§impl From<LightParam> for i64
impl From<LightParam> for i64
Source§fn from(v: LightParam) -> Self
fn from(v: LightParam) -> Self
Converts to this type from the input type.
Source§impl From<i64> for LightParam
impl From<i64> for LightParam
Source§impl FromVariant for LightParam
impl FromVariant for LightParam
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
Source§impl Hash for LightParam
impl Hash for LightParam
Source§impl Ord for LightParam
impl Ord for LightParam
Source§fn cmp(&self, other: &LightParam) -> Ordering
fn cmp(&self, other: &LightParam) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LightParam
impl PartialEq for LightParam
Source§impl PartialOrd for LightParam
impl PartialOrd for LightParam
impl Copy for LightParam
impl Eq for LightParam
impl StructuralPartialEq for LightParam
Auto Trait Implementations§
impl Freeze for LightParam
impl RefUnwindSafe for LightParam
impl Send for LightParam
impl Sync for LightParam
impl Unpin for LightParam
impl UnwindSafe for LightParam
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.