pub struct OutputMode {
pub size: Option<[u32; 2]>,
pub max_punch: Option<f64>,
}Expand description
project.output.preview / .master.
Fields§
§size: Option<[u32; 2]>[w, h] in pixels; unset: the aspect at 1080 (preview) or 2160 (master) on the short side.
max_punch: Option<f64>Cap on reframe punch-ins (edit.yaml output.<mode>.max_punch, default 1.4).
Implementations§
Trait Implementations§
Source§impl Clone for OutputMode
impl Clone for OutputMode
Source§impl Debug for OutputMode
impl Debug for OutputMode
Source§impl Default for OutputMode
impl Default for OutputMode
Source§impl<'de> Deserialize<'de> for OutputModewhere
OutputMode: Default,
impl<'de> Deserialize<'de> for OutputModewhere
OutputMode: Default,
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 OutputMode
impl PartialEq for OutputMode
Source§impl Serialize for OutputMode
impl Serialize for OutputMode
impl StructuralPartialEq for OutputMode
Auto Trait Implementations§
impl Forget for OutputMode
impl Freeze for OutputMode
impl RefUnwindSafe for OutputMode
impl Send for OutputMode
impl Sync for OutputMode
impl Unpin for OutputMode
impl UnsafeUnpin for OutputMode
impl UnwindSafe for OutputMode
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