pub struct Shells {
pub count: u32,
pub fins: bool,
}Expand description
A field’s shell stack: how many layers, and whether fins stand where the stack is seen edge-on.
The overdraw of a shell look is proportional to Shells::count, which
is decision 3’s price and the reason it is a parameter: every layer is a
sheet over the whole field, and a fragment of each is shaded wherever the
sheet is on screen.
Fields§
§count: u32Layers in the stack, 1..=MAX_SHELLS.
fins: boolWhether fins stand at silhouettes. Off, a stack seen at a grazing angle shows the gaps between its layers — which is what a test of the fins compares against.
Trait Implementations§
impl Copy for Shells
impl Eq for Shells
impl StructuralPartialEq for Shells
Auto Trait Implementations§
impl Freeze for Shells
impl RefUnwindSafe for Shells
impl Send for Shells
impl Sync for Shells
impl Unpin for Shells
impl UnsafeUnpin for Shells
impl UnwindSafe for Shells
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