pub struct LayerDesc<'a> {
pub name: &'a str,
pub input: LayerInput,
pub tile_order: TileOrder,
pub terrain_mode: TerrainMode,
pub is_volume: bool,
pub properties: &'a [PropertyDesc<'a>],
}Expand description
Static descriptor for a custom layer type returned by LayerPlugin::desc.
Fields§
§name: &'a str§input: LayerInput§tile_order: TileOrder§terrain_mode: TerrainMode§is_volume: bool§properties: &'a [PropertyDesc<'a>]Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for LayerDesc<'a>
impl<'a> Freeze for LayerDesc<'a>
impl<'a> Move for LayerDesc<'a>
impl<'a> RefUnwindSafe for LayerDesc<'a>
impl<'a> Send for LayerDesc<'a>
impl<'a> Sync for LayerDesc<'a>
impl<'a> Unpin for LayerDesc<'a>
impl<'a> UnsafeUnpin for LayerDesc<'a>
impl<'a> UnwindSafe for LayerDesc<'a>
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