pub struct PreviewRunConfig {
pub width: f32,
pub height: f32,
pub mode: PreviewRunMode,
}Expand description
One offscreen Hydrolysis preview invocation.
Fields§
§width: f32Viewport width in logical units.
height: f32Viewport height in logical units.
mode: PreviewRunModeWhat the run produces.
Trait Implementations§
Source§impl Clone for PreviewRunConfig
impl Clone for PreviewRunConfig
Source§fn clone(&self) -> PreviewRunConfig
fn clone(&self) -> PreviewRunConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PreviewRunConfig
impl Debug for PreviewRunConfig
Source§impl<'de> Deserialize<'de> for PreviewRunConfig
impl<'de> Deserialize<'de> for PreviewRunConfig
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
Auto Trait Implementations§
impl Freeze for PreviewRunConfig
impl RefUnwindSafe for PreviewRunConfig
impl Send for PreviewRunConfig
impl Sync for PreviewRunConfig
impl Unpin for PreviewRunConfig
impl UnsafeUnpin for PreviewRunConfig
impl UnwindSafe for PreviewRunConfig
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