pub enum DrawOrder {
TopDown,
Index,
}Expand description
The order in which the objects of an object layer are drawn.
Variants§
TopDown
The objects are drawn sorted by their y-coordinate.
Index
The objects are drawn in the order of appearance in the map file, which can be manually arranged in the editor.
Trait Implementations§
impl Copy for DrawOrder
impl Eq for DrawOrder
impl StructuralPartialEq for DrawOrder
Auto Trait Implementations§
impl Forget for DrawOrder
impl Freeze for DrawOrder
impl Move for DrawOrder
impl RefUnwindSafe for DrawOrder
impl Send for DrawOrder
impl Sync for DrawOrder
impl Unpin for DrawOrder
impl UnsafeUnpin for DrawOrder
impl UnwindSafe for DrawOrder
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