pub enum LadderShape {
Even,
Falling,
Rising,
}Expand description
How a ladder’s sizes run, from the best level out.
Variants§
Even
One size at every level.
Falling
Each level is smaller than or as large as the one before (or at
most LADDER_SHAPE_SLACK larger).
Rising
Each level is larger than or as large as the one before (or at most
LADDER_SHAPE_SLACK smaller).
Trait Implementations§
Source§impl Clone for LadderShape
impl Clone for LadderShape
impl Copy for LadderShape
Source§impl Debug for LadderShape
impl Debug for LadderShape
impl Eq for LadderShape
Source§impl PartialEq for LadderShape
impl PartialEq for LadderShape
Source§impl Serialize for LadderShape
impl Serialize for LadderShape
impl StructuralPartialEq for LadderShape
Auto Trait Implementations§
impl Forget for LadderShape
impl Freeze for LadderShape
impl RefUnwindSafe for LadderShape
impl Send for LadderShape
impl Sync for LadderShape
impl Unpin for LadderShape
impl UnsafeUnpin for LadderShape
impl UnwindSafe for LadderShape
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.