pub struct AgentCoordinate { /* private fields */ }Implementations§
Source§impl AgentCoordinate
impl AgentCoordinate
pub fn here_without_a_goal(location: &str) -> Self
pub fn here_with_a_goal(location: &str, goal: &str) -> Self
pub fn nowhere_with_no_goal() -> Self
pub fn nowhere_with_a_goal(goal: &str) -> Self
pub fn has_location(&self) -> bool
pub fn has_goal(&self) -> bool
pub fn is_fully_specified(&self) -> bool
pub fn set_location(&mut self, loc: Option<&str>)
pub fn set_goal(&mut self, g: Option<&str>)
Trait Implementations§
Source§impl Clone for AgentCoordinate
impl Clone for AgentCoordinate
Source§fn clone(&self) -> AgentCoordinate
fn clone(&self) -> AgentCoordinate
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AgentCoordinate
impl Debug for AgentCoordinate
Source§impl Default for AgentCoordinate
impl Default for AgentCoordinate
Auto Trait Implementations§
impl Freeze for AgentCoordinate
impl RefUnwindSafe for AgentCoordinate
impl Send for AgentCoordinate
impl Sync for AgentCoordinate
impl Unpin for AgentCoordinate
impl UnwindSafe for AgentCoordinate
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