31 lines
1.1 KiB
Rust
31 lines
1.1 KiB
Rust
// Workspace: weaponry
|
|
// File: weaponry/src/weaponry_structs/equipement_views.rs
|
|
//! Implement the view trait to allow for a list of "Points of Interest" to be created
|
|
//! This list is imperative to allow several criterias to be looked up one after the other to gather as many points of data as possible
|
|
//!
|
|
//! It is mandatory that these points of interest link back to the original data by index and not by reference, to allow this operation to be thread safe
|
|
// TODO[3]: Consider deletion of this module and the associated view table
|
|
|
|
#![allow(dead_code)]
|
|
|
|
use crate::interfaces::ViewTable;
|
|
|
|
use super::equipement_advanced_repr::RefinedEquipementList;
|
|
|
|
/// A rather full view of an equipement, this multi field allow for a great amount of different operations but incurrs a rather hefty calculation price
|
|
struct EquipementFullView {}
|
|
|
|
#[coverage(off)]
|
|
impl ViewTable for EquipementFullView {
|
|
type InterestElementList = RefinedEquipementList;
|
|
|
|
fn index_of_interest_points(&self) -> Vec<usize> {
|
|
todo!()
|
|
}
|
|
|
|
fn find_points_of_interest(representation: &Self::InterestElementList) -> Self {
|
|
let _ = representation;
|
|
todo!()
|
|
}
|
|
}
|