pub enum BlendMode {
Replace,
Union,
Intersect,
Difference,
Mask,
}Variants§
Replace
Replace existing tiles.
Union
Union (OR) of floor tiles.
Intersect
Intersection (AND) of floor tiles.
Difference
Difference — floor only where first has floor and second has wall.
Mask
Mask — keep first layer only where second is floor.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BlendMode
impl<'de> Deserialize<'de> for BlendMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for BlendMode
Auto Trait Implementations§
impl Freeze for BlendMode
impl RefUnwindSafe for BlendMode
impl Send for BlendMode
impl Sync for BlendMode
impl Unpin for BlendMode
impl UnwindSafe for BlendMode
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