pub struct Sheet {
pub sf: Option<String>,
pub name: String,
pub css: Option<String>,
}Expand description
An s message: install, replace or (without css) remove a stylesheet.
Fields§
§sf: Option<String>The surface (the live one when absent).
name: StringThe sheet’s name (1–64 of A-Z a-z 0-9 _ -).
css: Option<String>The CSS; absent removes the sheet.
Trait Implementations§
impl Eq for Sheet
impl StructuralPartialEq for Sheet
Auto Trait Implementations§
impl Freeze for Sheet
impl RefUnwindSafe for Sheet
impl Send for Sheet
impl Sync for Sheet
impl Unpin for Sheet
impl UnsafeUnpin for Sheet
impl UnwindSafe for Sheet
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