pub struct SolveRegion {
pub id: String,
pub name: String,
pub moving: bool,
pub kind: String,
pub unassigned: bool,
pub code: u8,
pub shape: Region,
}Expand description
One non-ignored region the pass tracks.
Fields§
§id: String§name: String§moving: boolmoving regions are tracked; every other kind is placed once at the origin.
kind: StringIts kind as the canvas row stores it (moving, fixed).
unassigned: bool§code: u8The region’s code in the atlas label plane.
shape: RegionAuto Trait Implementations§
impl Freeze for SolveRegion
impl RefUnwindSafe for SolveRegion
impl Send for SolveRegion
impl Sync for SolveRegion
impl Unpin for SolveRegion
impl UnsafeUnpin for SolveRegion
impl UnwindSafe for SolveRegion
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more