Skip to content

Commit

Permalink
Rmove stc2moc part (migrated into MOCLibRust)
Browse files Browse the repository at this point in the history
  • Loading branch information
fxpineau committed Dec 12, 2023
1 parent 40da839 commit 16e94d3
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions src/visitor/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,37 +173,6 @@ pub trait SpaceVisitor: Sized {
) -> Result<Self::Value, Self::Error>;
}

/*pub trait SpaceVisitor: Sized {
type Value;
type Error: Error;
type C: CompoundVisitor<Value = Self::Value, Error = Self::Error>;
fn new_compound_visitor(
&self,
fill_fram_refpos_flavor: &FillFrameRefposFlavor,
from_pos_to_velocity: &FromPosToVelocity,
) -> Result<Self::C, Self::Error>;
fn visit_position_simple(self, position: &Position) -> Result<Self::Value, Self::Error>;
fn visit_position_interval(self, interval: &PositionInterval)
-> Result<Self::Value, Self::Error>;
fn visit_allsky(self, content_visit_result: Self::Value) -> Result<Self::Value, Self::Error>;
fn visit_circle(self, content_visit_result: Self::Value) -> Result<Self::Value, Self::Error>;
fn visit_ellipse(self, content_visit_result: Self::Value) -> Result<Self::Value, Self::Error>;
fn visit_box(self, content_visit_result: Self::Value) -> Result<Self::Value, Self::Error>;
fn visit_polygon(self, content_visit_result: Self::Value) -> Result<Self::Value, Self::Error>;
fn visit_convex(self, content_visit_result: Self::Value) -> Result<Self::Value, Self::Error>;
fn visit_not(self, content_visit_result: Self::Value) -> Result<Self::Value, Self::Error>;
fn visit_union(self, content_visit_result: Self::Value) -> Result<Self::Value, Self::Error>;
fn visit_intersection(
self,
content_visit_result: Self::Value,
) -> Result<Self::Value, Self::Error>;
fn visit_difference(self, content_visit_result: Self::Value) -> Result<Self::Value, Self::Error>;
}*/

/// When visiting a single `Stc` structure, at most one of the two methods is called.
pub trait RedshiftVisitor: Sized {
type Value;
Expand Down

0 comments on commit 16e94d3

Please sign in to comment.