#[non_exhaustive]pub struct DuplicateLoopEndpointOutcome {
pub removed_keys_per_track: usize,
pub duration_before_s: f64,
pub duration_after_s: f64,
pub max_translation_endpoint_delta_m: Option<f32>,
pub max_rotation_endpoint_delta_rad: Option<f32>,
pub max_scale_endpoint_delta: Option<f32>,
}Expand description
The lossless change made by drop_duplicate_loop_endpoint.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.removed_keys_per_track: usizeNumber of consecutive closing keys removed from every track.
duration_before_s: f64Declared duration before removal.
duration_after_s: f64Duration re-pinned to the final retained key.
max_translation_endpoint_delta_m: Option<f32>Largest closing translation-component delta, in metres.
max_rotation_endpoint_delta_rad: Option<f32>Largest sign-invariant closing rotation delta, in radians.
max_scale_endpoint_delta: Option<f32>Largest closing scale-component delta.
Trait Implementations§
Source§impl Clone for DuplicateLoopEndpointOutcome
impl Clone for DuplicateLoopEndpointOutcome
Source§fn clone(&self) -> DuplicateLoopEndpointOutcome
fn clone(&self) -> DuplicateLoopEndpointOutcome
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 DuplicateLoopEndpointOutcome
Source§impl Debug for DuplicateLoopEndpointOutcome
impl Debug for DuplicateLoopEndpointOutcome
impl StructuralPartialEq for DuplicateLoopEndpointOutcome
Auto Trait Implementations§
impl Freeze for DuplicateLoopEndpointOutcome
impl RefUnwindSafe for DuplicateLoopEndpointOutcome
impl Send for DuplicateLoopEndpointOutcome
impl Sync for DuplicateLoopEndpointOutcome
impl Unpin for DuplicateLoopEndpointOutcome
impl UnsafeUnpin for DuplicateLoopEndpointOutcome
impl UnwindSafe for DuplicateLoopEndpointOutcome
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