pub struct PrefabConfig {
pub max_prefabs: usize,
pub min_spacing: usize,
pub allow_rotation: bool,
pub allow_mirroring: bool,
pub weighted_selection: bool,
pub placement_mode: PrefabPlacementMode,
pub tags: Option<Vec<String>>,
}Fields§
§max_prefabs: usize§min_spacing: usize§allow_rotation: bool§allow_mirroring: bool§weighted_selection: bool§placement_mode: PrefabPlacementModeTrait Implementations§
Source§impl Clone for PrefabConfig
impl Clone for PrefabConfig
Source§fn clone(&self) -> PrefabConfig
fn clone(&self) -> PrefabConfig
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 PrefabConfig
impl Debug for PrefabConfig
Auto Trait Implementations§
impl Freeze for PrefabConfig
impl RefUnwindSafe for PrefabConfig
impl Send for PrefabConfig
impl Sync for PrefabConfig
impl Unpin for PrefabConfig
impl UnwindSafe for PrefabConfig
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