pub struct RandomSelectorConfiguration {
pub features: Vec<WeightedPlacedFeature>,
pub default: PlacedFeatureRef,
}Fields§
§features: Vec<WeightedPlacedFeature>§default: PlacedFeatureRefTrait Implementations§
Source§impl Clone for RandomSelectorConfiguration
impl Clone for RandomSelectorConfiguration
Source§fn clone(&self) -> RandomSelectorConfiguration
fn clone(&self) -> RandomSelectorConfiguration
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 RandomSelectorConfiguration
impl !UnwindSafe for RandomSelectorConfiguration
impl Freeze for RandomSelectorConfiguration
impl Send for RandomSelectorConfiguration
impl Sync for RandomSelectorConfiguration
impl Unpin for RandomSelectorConfiguration
impl UnsafeUnpin for RandomSelectorConfiguration
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