pub struct Project {
pub schema: String,
pub rate: Option<f64>,
pub grade: GradeParams,
pub default_look: Option<String>,
pub looks: BTreeMap<String, GradeParams>,
pub luts: BTreeMap<String, String>,
pub shaders: BTreeMap<String, String>,
pub rules: Rules,
pub styles: Map<String, Value>,
pub output: Output,
pub mix: MixParams,
pub other: Map<String, Value>,
}Expand description
Timeline.metadata.ffcine.project.
Fields§
§schema: String§rate: Option<f64>Frame rate of the timeline (the render rate).
grade: GradeParamsBase grade.
default_look: Option<String>Look used by clips that don’t name one.
looks: BTreeMap<String, GradeParams>§luts: BTreeMap<String, String>LUT aliases -> paths (relative to the timeline file).
shaders: BTreeMap<String, String>.hook shader aliases -> paths.
rules: Rules§styles: Map<String, Value>Text styles by name (ffcine.text clips pick one with style).
output: OutputOutput frame of ffcine render (aspect, per-quality size and punch cap).
mix: MixParamsMix settings.
other: Map<String, Value>Implementations§
Source§impl Project
impl Project
Sourcepub fn resolve_grade(
&self,
clip: Option<&ClipGrade>,
kind: SourceKind,
) -> Result<GradeParams, GradeError>
pub fn resolve_grade( &self, clip: Option<&ClipGrade>, kind: SourceKind, ) -> Result<GradeParams, GradeError>
The layered grade for a clip (see the module docs). The result still has lut as an
alias; Project::lut_path resolves it.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Project
impl<'de> Deserialize<'de> for Project
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Project
Auto Trait Implementations§
impl Forget for Project
impl Freeze for Project
impl RefUnwindSafe for Project
impl Send for Project
impl Sync for Project
impl Unpin for Project
impl UnsafeUnpin for Project
impl UnwindSafe for Project
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