From 32438ce25f69de99d2523b98237f62cfa90890d7 Mon Sep 17 00:00:00 2001 From: cashmere Date: Tue, 28 Jul 2026 20:14:51 +0200 Subject: feat: port domain crates to Rust (session 1 complete) All green: cargo test --workspace (~300 tests, 0 failures). - timeline (45): placement, resize/ripple, split, snap, retime, audio separation, scene helpers - animation (73): bezier solver, channel sampling, keyframe ops, split/clamp/clone, param definitions - commands (9): Command trait, BatchCommand, history, 19 concrete commands, freeze-frame port 1:1 - audio (22): audible collection, range mixing, mastering limiter, rms/peak buckets - text (19): cosmic-text layout/measure/raster, backgrounds, decorations - graphics (52): full CSS gradient parser, tiny-skia raster, 4 shape definitions - effect-defs (16): blur definition, registry, pass resolution - mask-defs (19): all 9 mask renderers via tiny-skia - renderer (6): node model + scene builder port - desktop: GPUI projects screen wired to ProjectStore - scene: factory (web defaults: v32, Main Track, 1920x1080, 30fps) --- rust/crates/timeline/src/placement/apply.rs | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'rust/crates/timeline/src/placement/apply.rs') diff --git a/rust/crates/timeline/src/placement/apply.rs b/rust/crates/timeline/src/placement/apply.rs index 4e044a68..56c3fd0a 100644 --- a/rust/crates/timeline/src/placement/apply.rs +++ b/rust/crates/timeline/src/placement/apply.rs @@ -46,8 +46,8 @@ pub fn apply_placement(params: &ApplyPlacementParams) -> Option) -> Self; -} - -impl WithElements for Track { - fn with_elements(mut self, elements: Vec) -> Self { - *self.elements_mut() = elements; - self - } -} -- cgit v1.3.1