pub struct GenerationResult {
pub tiles: Grid<Tile>,
pub semantic: Option<SemanticLayers>,
}Expand description
Extended generation result with semantic information
Fields§
§tiles: Grid<Tile>§semantic: Option<SemanticLayers>Implementations§
Source§impl GenerationResult
impl GenerationResult
pub fn new(tiles: Grid<Tile>) -> Self
pub fn with_semantic(tiles: Grid<Tile>, semantic: SemanticLayers) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GenerationResult
impl RefUnwindSafe for GenerationResult
impl Send for GenerationResult
impl Sync for GenerationResult
impl Unpin for GenerationResult
impl UnwindSafe for GenerationResult
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