pub struct Terrain {
pub id: String,
pub protos: Vec<String>,
pub transitions: Range<usize>,
}Expand description
One terrain: the prototypes that are it when painted.
Fields§
§id: String§protos: Vec<String>At least one proto definition; a brush paints the first.
transitions: Range<usize>Its transitions, as indexes into Transitions::transitions.
Trait Implementations§
impl Eq for Terrain
impl StructuralPartialEq for Terrain
Auto Trait Implementations§
impl Forget for Terrain
impl Freeze for Terrain
impl Move for Terrain
impl RefUnwindSafe for Terrain
impl Send for Terrain
impl Sync for Terrain
impl Unpin for Terrain
impl UnsafeUnpin for Terrain
impl UnwindSafe for Terrain
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