pub struct Shot {
pub key: String,
pub values: Values,
pub x2: bool,
pub css_width: Option<u64>,
}Expand description
How a manifest name pairs (contract/SPEC.md, “A shot’s name”).
Fields§
§key: StringThe screen’s key: the name without its values, width and 2x.
values: ValuesThe value the name gives, by dimension key; a dimension it gives none of stands for every value.
x2: bool§css_width: Option<u64>The CSS width the name gives (-1440).
Trait Implementations§
impl StructuralPartialEq for Shot
Auto Trait Implementations§
impl Forget for Shot
impl Freeze for Shot
impl Move for Shot
impl RefUnwindSafe for Shot
impl Send for Shot
impl Sync for Shot
impl Unpin for Shot
impl UnsafeUnpin for Shotwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
impl UnwindSafe for Shot
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