pub struct DemoData {
pub manual_delay: bool,
pub delay: u16,
idx: usize,
data_offset: u8,
antenna_state: [AntennaState; 4],
angle_ds: Vec<f64>,
antenna_ds: Vec<f64>,
real_ds: Vec<Vec<i32>>,
imag_ds: Vec<Vec<i32>>,
enable_ds: Vec<f64>,
time_ds: Vec<f64>,
pub state: State,
}Expand description
A struct to contain demo data info.
Fields§
§manual_delay: bool§delay: u16§idx: usize§data_offset: u8§antenna_state: [AntennaState; 4]§angle_ds: Vec<f64>§antenna_ds: Vec<f64>§real_ds: Vec<Vec<i32>>§imag_ds: Vec<Vec<i32>>§enable_ds: Vec<f64>§time_ds: Vec<f64>§state: StateImplementations§
Source§impl DemoData
impl DemoData
Sourcepub fn update_state(&mut self, conf: SettingData)
pub fn update_state(&mut self, conf: SettingData)
This would be used to demonstrate changing settings if the archiver were correctly forwarding them. ToDo: have the archiver forward settings
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DemoData
impl RefUnwindSafe for DemoData
impl Send for DemoData
impl Sync for DemoData
impl Unpin for DemoData
impl UnsafeUnpin for DemoData
impl UnwindSafe for DemoData
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