pub struct SimpleRooms { /* private fields */ }Expand description
Simple rectangular room placement generator.
Implementations§
Source§impl SimpleRooms
impl SimpleRooms
Sourcepub fn new(config: SimpleRoomsConfig) -> Self
pub fn new(config: SimpleRoomsConfig) -> Self
Creates a new room generator with the given config.
Trait Implementations§
Source§impl Algorithm for SimpleRooms
impl Algorithm for SimpleRooms
Source§impl Clone for SimpleRooms
impl Clone for SimpleRooms
Source§fn clone(&self) -> SimpleRooms
fn clone(&self) -> SimpleRooms
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 SimpleRooms
impl Debug for SimpleRooms
Source§impl Default for SimpleRooms
impl Default for SimpleRooms
Source§impl<'de> Deserialize<'de> for SimpleRooms
impl<'de> Deserialize<'de> for SimpleRooms
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 SimpleRooms
impl RefUnwindSafe for SimpleRooms
impl Send for SimpleRooms
impl Sync for SimpleRooms
impl Unpin for SimpleRooms
impl UnwindSafe for SimpleRooms
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