pub struct RegionPlacementWeights {
pub left: u16,
pub right: u16,
}Expand description
Placement weights for region assignment during split.
Fields§
§left: u16Weight toward left partition.
right: u16Weight toward right partition.
Trait Implementations§
Source§impl Clone for RegionPlacementWeights
impl Clone for RegionPlacementWeights
Source§fn clone(&self) -> RegionPlacementWeights
fn clone(&self) -> RegionPlacementWeights
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 moreimpl Copy for RegionPlacementWeights
Auto Trait Implementations§
impl Freeze for RegionPlacementWeights
impl RefUnwindSafe for RegionPlacementWeights
impl Send for RegionPlacementWeights
impl Sync for RegionPlacementWeights
impl Unpin for RegionPlacementWeights
impl UnsafeUnpin for RegionPlacementWeights
impl UnwindSafe for RegionPlacementWeights
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