pub struct Layout {
pub kind: String,
pub gap: f64,
pub margin: f64,
pub radius: f64,
pub weights: Vec<f64>,
pub stagger: f64,
pub slide: f64,
pub enter: bool,
pub first_static: bool,
}Expand description
Split-screen layout (ffcine.comp.layout/1), render.py layout_geom and layout_chain.
Fields§
§kind: Stringsplit/row (side by side), column (stacked), 1+2 (one left, two stacked right).
gap: f64§margin: f64§radius: f64§weights: Vec<f64>§stagger: f64§slide: f64§enter: bool§first_static: boolImplementations§
Trait Implementations§
impl StructuralPartialEq for Layout
Auto Trait Implementations§
impl Forget for Layout
impl Freeze for Layout
impl RefUnwindSafe for Layout
impl Send for Layout
impl Sync for Layout
impl Unpin for Layout
impl UnsafeUnpin for Layout
impl UnwindSafe for Layout
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