#[repr(C)]pub struct FalloffType {
pub value: u8,
}Expand description
Fields§
§value: u8Implementations§
Source§impl FalloffType
impl FalloffType
pub fn inverse_squared() -> Self
pub fn inverse_squared_no_range_attenuation() -> Self
pub fn linear() -> Self
pub fn legacy() -> Self
pub fn undefined() -> Self
Trait Implementations§
Source§impl ClassIdentity for FalloffType
impl ClassIdentity for FalloffType
Source§impl Clone for FalloffType
impl Clone for FalloffType
Source§fn clone(&self) -> FalloffType
fn clone(&self) -> FalloffType
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FalloffType
impl Debug for FalloffType
Source§impl PartialEq for FalloffType
impl PartialEq for FalloffType
impl Copy for FalloffType
impl Eq for FalloffType
impl StructuralPartialEq for FalloffType
Auto Trait Implementations§
impl Freeze for FalloffType
impl RefUnwindSafe for FalloffType
impl Send for FalloffType
impl Sync for FalloffType
impl Unpin for FalloffType
impl UnwindSafe for FalloffType
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)