pub struct Ramps {
pub all: Vec<Ramp>,
pub my: Ramp,
pub enemy: Ramp,
}
Expand description
Structured collection of ramps.
Fields§
§all: Vec<Ramp>
All ramps on the map.
my: Ramp
Ramp to your main base.
enemy: Ramp
Ramp to opponent’s main base.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Ramps
impl RefUnwindSafe for Ramps
impl !Send for Ramps
impl !Sync for Ramps
impl Unpin for Ramps
impl UnwindSafe for Ramps
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