pub struct Pattern { /* private fields */ }
55
56
57
58
59
60
61
fn tiled_grid_slice<'a, T>(
&self,
grid: &'a Grid<T>,
size: Size,
) -> TiledGridSlice<'a, T> {
TiledGridSlice::new(grid, self.coord(), size, self.orientation)
}
Formats the value using the given formatter.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.