pub enum LayoutIndex {
Real(usize),
Template(usize),
}
Expand description
Unique index for a Layout
in a problem instance.
Variants§
Trait Implementations§
Source§impl Clone for LayoutIndex
impl Clone for LayoutIndex
Source§fn clone(&self) -> LayoutIndex
fn clone(&self) -> LayoutIndex
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LayoutIndex
impl Debug for LayoutIndex
Source§impl Hash for LayoutIndex
impl Hash for LayoutIndex
Source§impl Into<usize> for LayoutIndex
impl Into<usize> for LayoutIndex
Source§impl PartialEq for LayoutIndex
impl PartialEq for LayoutIndex
impl Copy for LayoutIndex
impl Eq for LayoutIndex
impl StructuralPartialEq for LayoutIndex
Auto Trait Implementations§
impl Freeze for LayoutIndex
impl RefUnwindSafe for LayoutIndex
impl Send for LayoutIndex
impl Sync for LayoutIndex
impl Unpin for LayoutIndex
impl UnwindSafe for LayoutIndex
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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