pub struct ViewportMatrix {
pub viewports: Vec<ViewportDef>,
}Expand description
A list of named viewports a scenario is expanded across.
Fields§
§viewports: Vec<ViewportDef>The viewport variants ({name, width, height}).
Trait Implementations§
Source§impl Clone for ViewportMatrix
impl Clone for ViewportMatrix
Source§fn clone(&self) -> ViewportMatrix
fn clone(&self) -> ViewportMatrix
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 ViewportMatrix
impl Debug for ViewportMatrix
Source§impl Default for ViewportMatrix
impl Default for ViewportMatrix
Source§fn default() -> ViewportMatrix
fn default() -> ViewportMatrix
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ViewportMatrix
impl<'de> Deserialize<'de> for ViewportMatrix
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 ViewportMatrix
impl RefUnwindSafe for ViewportMatrix
impl Send for ViewportMatrix
impl Sync for ViewportMatrix
impl Unpin for ViewportMatrix
impl UnsafeUnpin for ViewportMatrix
impl UnwindSafe for ViewportMatrix
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