pub struct LaneAssignmentOptions {
pub lanes: u32,
pub synchronization_cost: u64,
pub locality_slack: u64,
}Fields§
§lanes: u32Number of available lanes. Zero is treated as one.
synchronization_cost: u64Estimated delay for an item to observe a producer in another lane, in the same unit as item costs.
locality_slack: u64Largest delay accepted to keep an item in its producer’s or its predecessor’s lane, in the same unit as item costs.
Trait Implementations§
Source§impl Clone for LaneAssignmentOptions
impl Clone for LaneAssignmentOptions
impl Copy for LaneAssignmentOptions
Source§impl Debug for LaneAssignmentOptions
impl Debug for LaneAssignmentOptions
impl Eq for LaneAssignmentOptions
Source§impl PartialEq for LaneAssignmentOptions
impl PartialEq for LaneAssignmentOptions
impl StructuralPartialEq for LaneAssignmentOptions
Auto Trait Implementations§
impl Freeze for LaneAssignmentOptions
impl RefUnwindSafe for LaneAssignmentOptions
impl Send for LaneAssignmentOptions
impl Sync for LaneAssignmentOptions
impl Unpin for LaneAssignmentOptions
impl UnsafeUnpin for LaneAssignmentOptions
impl UnwindSafe for LaneAssignmentOptions
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