pub struct AgentBased { /* private fields */ }Expand description
Agent-based terrain carver.
Implementations§
Source§impl AgentBased
impl AgentBased
Sourcepub fn new(config: AgentConfig) -> Self
pub fn new(config: AgentConfig) -> Self
Creates a new agent-based generator with the given config.
Trait Implementations§
Source§impl Algorithm for AgentBased
impl Algorithm for AgentBased
Source§impl Clone for AgentBased
impl Clone for AgentBased
Source§fn clone(&self) -> AgentBased
fn clone(&self) -> AgentBased
Returns a duplicate 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 AgentBased
impl Debug for AgentBased
Source§impl Default for AgentBased
impl Default for AgentBased
Source§impl<'de> Deserialize<'de> for AgentBased
impl<'de> Deserialize<'de> for AgentBased
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AgentBased
impl RefUnwindSafe for AgentBased
impl Send for AgentBased
impl Sync for AgentBased
impl Unpin for AgentBased
impl UnwindSafe for AgentBased
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