pub struct Shot {
pub key: String,
pub theme: Option<String>,
pub size: String,
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 theme, width and 2x parts.
theme: Option<String>None when the name says nothing: the shot stands for both themes.
size: String§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 Shotwhere
RawVecInner: Send,
impl Sync for Shotwhere
RawVecInner: Sync,
impl Unpin for Shot
impl UnsafeUnpin for Shot
impl UnwindSafe for Shotwhere
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