pub struct Reframe {
pub id: Option<String>,
pub video: MediaItem,
pub blur: Option<f32>,
pub at: Option<f64>,
}Expand description
A video over a blurred copy of itself.
Fields§
§id: Option<String>The node’s name, for other nodes to refer to. Its sound is the video’s.
video: MediaItemThe video.
blur: Option<f32>The background’s blur radius, as a fraction of its shorter side. Default 0.05.
at: Option<f64>When it starts in its parent; its length is the video’s.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Reframe
impl<'de> Deserialize<'de> for Reframe
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 Reframe
Auto Trait Implementations§
impl Freeze for Reframe
impl RefUnwindSafe for Reframe
impl Send for Reframe
impl Sync for Reframe
impl Unpin for Reframe
impl UnsafeUnpin for Reframe
impl UnwindSafe for Reframe
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