use std::hash::Hash;
#[cfg(feature = "facet")]
use facet::Facet;
use crate::snip::Target;
pub mod error;
pub mod extent;
pub mod mode;
pub mod resolution;
pub use error::*;
pub use extent::*;
pub use mode::*;
pub use resolution::*;
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
#[cfg_attr(feature = "facet", derive(Facet))]
pub struct Boundary {
pub target: Target,
pub mode: BoundaryMode,
}
impl Boundary {
#[must_use]
pub fn new(target: Target, mode: BoundaryMode) -> Self {
Self { target, mode }
}
}