pub struct WeightedPlacedFeature {
pub chance: f32,
pub feature: PlacedFeatureRef,
}Fields§
§chance: f32§feature: PlacedFeatureRefTrait Implementations§
Source§impl Clone for WeightedPlacedFeature
impl Clone for WeightedPlacedFeature
Source§fn clone(&self) -> WeightedPlacedFeature
fn clone(&self) -> WeightedPlacedFeature
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for WeightedPlacedFeature
impl !UnwindSafe for WeightedPlacedFeature
impl Freeze for WeightedPlacedFeature
impl Send for WeightedPlacedFeature
impl Sync for WeightedPlacedFeature
impl Unpin for WeightedPlacedFeature
impl UnsafeUnpin for WeightedPlacedFeature
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