pub struct Dimension {
pub key: String,
pub label: String,
pub missing: Missing,
pub values: Vec<DimensionValue>,
}Expand description
A way a screen’s shots differ (contract/SPEC.md, “Dimensions”): theme and size are built in, a site adds others.
Fields§
§key: String§label: String§missing: Missing§values: Vec<DimensionValue>Trait Implementations§
impl StructuralPartialEq for Dimension
Auto Trait Implementations§
impl Forget for Dimension
impl Freeze for Dimension
impl Move for Dimension
impl RefUnwindSafe for Dimension
impl Send for Dimensionwhere
RawVecInner: Send,
impl Sync for Dimensionwhere
RawVecInner: Sync,
impl Unpin for Dimension
impl UnsafeUnpin for Dimensionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<DimensionValue>: UnsafeUnpin,
impl UnwindSafe for Dimensionwhere
RawVecInner: UnwindSafe,
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