pub enum Draw {
Inside,
Outside,
}Expand description
Where a transition draws.
Variants§
Inside
On tiles of the transition’s own terrain, showing where their neighbours differ.
Outside
On tiles of the terrains it blends with, showing its terrain reaching in from their neighbours.
Implementations§
Trait Implementations§
impl Copy for Draw
impl Eq for Draw
Source§impl Ord for Draw
impl Ord for Draw
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Draw
impl PartialOrd for Draw
impl StructuralPartialEq for Draw
Auto Trait Implementations§
impl Forget for Draw
impl Freeze for Draw
impl Move for Draw
impl RefUnwindSafe for Draw
impl Send for Draw
impl Sync for Draw
impl Unpin for Draw
impl UnsafeUnpin for Draw
impl UnwindSafe for Draw
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