pub struct GeneratorNode {
pub id: Option<String>,
pub generator: EffectUse,
pub at: Option<f64>,
pub duration: Option<f64>,
pub inset: Option<Inset>,
pub enter: Option<Motion>,
pub exit: Option<Motion>,
}Expand description
An area drawn by a generator. The generator draws the whole picture, which is scaled to the node’s area, and its ramps and keys run over the node’s time.
Fields§
§id: Option<String>The node’s name, for other nodes to refer to.
generator: EffectUseThe generator: a built-in by its short name (fractal-noise) or any generator by its full
id, under effect, with its parameters by name.
at: Option<f64>Seconds from the parent’s start (an overlay’s: the video’s). Ignored in a sequence.
duration: Option<f64>Length in seconds. Default: what its parent gives it.
inset: Option<Inset>Pixels kept clear inside the parent’s area: one number, or [top, right, bottom, left].
enter: Option<Motion>How it comes in at its start.
exit: Option<Motion>How it goes out, ending at its end.
Trait Implementations§
Source§impl Clone for GeneratorNode
impl Clone for GeneratorNode
Source§impl Debug for GeneratorNode
impl Debug for GeneratorNode
Source§impl<'de> Deserialize<'de> for GeneratorNode
impl<'de> Deserialize<'de> for GeneratorNode
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
Source§impl PartialEq for GeneratorNode
impl PartialEq for GeneratorNode
Source§impl Serialize for GeneratorNode
impl Serialize for GeneratorNode
impl StructuralPartialEq for GeneratorNode
Auto Trait Implementations§
impl Forget for GeneratorNode
impl Freeze for GeneratorNodewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
PhantomData<EasingPoint>: Freeze,
impl Move for GeneratorNode
impl RefUnwindSafe for GeneratorNode
impl Send for GeneratorNode
impl Sync for GeneratorNode
impl Unpin for GeneratorNode
impl UnsafeUnpin for GeneratorNodewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
PhantomData<EasingPoint>: UnsafeUnpin,
impl UnwindSafe for GeneratorNode
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