pub struct TappingResult {
pub extend_left: i32,
pub raw_extend_left: i32,
pub delay_left: f64,
}Expand description
Result of a tapping-point calculation.
Carries both the clamped extend_left (guaranteed to lie in [0, distance])
and the raw (pre-clamp) value so the caller can compute the exact
wire lengths for the two children and the need_elongation flags.
Fields§
§extend_left: i32Tapping-point offset from the left child, clamped to [0, distance].
raw_extend_left: i32Raw (pre-clamp) tapping-point offset.
delay_left: f64Signal delay at the tapping point.
Trait Implementations§
Source§impl Clone for TappingResult
impl Clone for TappingResult
Source§fn clone(&self) -> TappingResult
fn clone(&self) -> TappingResult
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 TappingResult
Source§impl Debug for TappingResult
impl Debug for TappingResult
Source§impl PartialEq for TappingResult
impl PartialEq for TappingResult
Source§fn eq(&self, other: &TappingResult) -> bool
fn eq(&self, other: &TappingResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TappingResult
Auto Trait Implementations§
impl Freeze for TappingResult
impl RefUnwindSafe for TappingResult
impl Send for TappingResult
impl Sync for TappingResult
impl Unpin for TappingResult
impl UnsafeUnpin for TappingResult
impl UnwindSafe for TappingResult
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