pub enum UnitLayout {
Waffle {
rows: usize,
},
Parliament {
rows: usize,
inner: f64,
},
}Expand description
Unit layout.
Variants§
Waffle
Square grid rows units high.
Parliament
Half-circle seating; rows arcs (0 picks a count from the total) with
inner radius inner (0–1).
Trait Implementations§
Source§impl Clone for UnitLayout
impl Clone for UnitLayout
impl Copy for UnitLayout
Source§impl Debug for UnitLayout
impl Debug for UnitLayout
Source§impl PartialEq for UnitLayout
impl PartialEq for UnitLayout
impl StructuralPartialEq for UnitLayout
Auto Trait Implementations§
impl Freeze for UnitLayout
impl RefUnwindSafe for UnitLayout
impl Send for UnitLayout
impl Sync for UnitLayout
impl Unpin for UnitLayout
impl UnsafeUnpin for UnitLayout
impl UnwindSafe for UnitLayout
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