#[repr(C)]pub struct EcsRateFilter {
pub src: u64,
pub rate: i32,
pub tick_count: i32,
pub time_elapsed: f32,
}
Expand description
Apply a rate filter to a tick source
Fields§
§src: u64
< Source of the rate filter
rate: i32
< Rate of the rate filter
tick_count: i32
< Number of times the rate filter ticked
time_elapsed: f32
< Time elapsed since last tick
Trait Implementations§
Source§impl Clone for EcsRateFilter
impl Clone for EcsRateFilter
Source§fn clone(&self) -> EcsRateFilter
fn clone(&self) -> EcsRateFilter
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 Debug for EcsRateFilter
impl Debug for EcsRateFilter
impl Copy for EcsRateFilter
Auto Trait Implementations§
impl Freeze for EcsRateFilter
impl RefUnwindSafe for EcsRateFilter
impl Send for EcsRateFilter
impl Sync for EcsRateFilter
impl Unpin for EcsRateFilter
impl UnwindSafe for EcsRateFilter
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