pub struct Location { /* private fields */ }Expand description
A feature location preserving biological identity across one or more regions.
Implementations§
Source§impl Location
impl Location
Sourcepub fn new(
parts: Vec<Region>,
strand: Strand,
operator: LocationOperator,
) -> Result<Self, DomainError>
pub fn new( parts: Vec<Region>, strand: Strand, operator: LocationOperator, ) -> Result<Self, DomainError>
Construct a non-empty location.
Sourcepub const fn operator(&self) -> LocationOperator
pub const fn operator(&self) -> LocationOperator
Return the composition operator.
Trait Implementations§
impl Eq for Location
impl StructuralPartialEq for Location
Auto Trait Implementations§
impl Freeze for Location
impl RefUnwindSafe for Location
impl Send for Location
impl Sync for Location
impl Unpin for Location
impl UnsafeUnpin for Location
impl UnwindSafe for Location
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