pub struct FieldConfig {
pub dims: usize,
pub frame_count: usize,
pub retention: u8,
pub tick_rate_hz: u32,
}Expand description
Configuration for a temporal field.
Fields§
§dims: usizeNumber of dimensions per frame.
frame_count: usizeNumber of frames in the ring buffer.
retention: u8Decay retention per tick (0 = instant zero, 255 = no decay). Scale: 255 = 1.0, 230 ≈ 0.90, 128 = 0.50
tick_rate_hz: u32Tick rate in Hz (for time calculations).
Implementations§
Trait Implementations§
Source§impl Clone for FieldConfig
impl Clone for FieldConfig
Source§fn clone(&self) -> FieldConfig
fn clone(&self) -> FieldConfig
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 moreAuto Trait Implementations§
impl Freeze for FieldConfig
impl RefUnwindSafe for FieldConfig
impl Send for FieldConfig
impl Sync for FieldConfig
impl Unpin for FieldConfig
impl UnsafeUnpin for FieldConfig
impl UnwindSafe for FieldConfig
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