mirror of
https://github.com/storytold/effectcraft.git
synced 2026-10-28 20:16:52 -06:00
Refactor project for strict Clippy checks
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
use super::item::LayerId;
|
||||
use super::layer::{Layer, LayerSource};
|
||||
use super::settings::{Marker, yes};
|
||||
use super::*;
|
||||
use super::{Deserialize, FrameRate, Node, PropGroup, Serialize, Tick, Value, essential, styles};
|
||||
|
||||
/// 3D renderer of a composition.
|
||||
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Serialize, Deserialize)]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
use super::settings::yes;
|
||||
use super::*;
|
||||
use super::{ColorSpace, Deserialize, FrameRate, Serialize, Tick};
|
||||
|
||||
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Serialize, Deserialize)]
|
||||
pub enum FootageKind {
|
||||
|
||||
@@ -2,7 +2,7 @@ use super::comp::Comp;
|
||||
use super::footage::{Footage, FootageKind, Proxy, Solid};
|
||||
use super::layer::LayerSource;
|
||||
use super::settings::{APP_VERSION, ProjectError, ProjectSettings, SCHEMA_VERSION, SavedView};
|
||||
use super::*;
|
||||
use super::{Arc, BTreeMap, Deserialize, FrameRate, Label, Project, Serialize, Tick, file_check, limits};
|
||||
|
||||
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, PartialOrd, Ord, Hash, Serialize, Deserialize)]
|
||||
pub struct ItemId(pub u64);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
use super::item::{ItemId, LayerId};
|
||||
use super::settings::Marker;
|
||||
use super::*;
|
||||
use super::{BlendMode, Deserialize, Label, PropGroup, Serialize, Tick};
|
||||
|
||||
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Serialize, Deserialize)]
|
||||
pub enum LightKind {
|
||||
|
||||
@@ -8,7 +8,9 @@
|
||||
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
use crate::render_queue::*;
|
||||
use crate::render_queue::{
|
||||
AlphaMode, Channels, CurrentOrOff, FieldRender, OutputFormat, OutputModule, ProResProfile, ProxyUse, RenderQuality, RenderSettings, SwitchOverride,
|
||||
};
|
||||
use effectcraft_time::FrameRate;
|
||||
|
||||
/// A default slot (the Defaults section of the Templates dialogs).
|
||||
@@ -288,6 +290,7 @@ impl RenderTemplates {
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use crate::render_queue::{ColorDepth, Crop};
|
||||
|
||||
#[test]
|
||||
fn builtins_defaults_and_round_trip() {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
use super::item::{ItemId, LayerId};
|
||||
use super::*;
|
||||
use super::{BTreeMap, ColorSpace, Deserialize, Label, Serialize, Tick};
|
||||
|
||||
/// The project file schema. 2: effects on layers without a source rectangle (shape, text)
|
||||
/// measure positions from the top-left of their comp-sized bounds (effect space), not from
|
||||
|
||||
Reference in New Issue
Block a user