pub struct CssClass {
pub name: &'static str,
pub sheet: &'static Stylesheet,
}Expand description
A scoped class name from a CSS module.
Fields§
§name: &'static str§sheet: &'static StylesheetImplementations§
Trait Implementations§
Source§impl ClassValue for CssClass
impl ClassValue for CssClass
fn push_class(self, out: &mut String, sheets: &mut Vec<&'static Stylesheet>)
impl Copy for CssClass
impl Eq for CssClass
impl StructuralPartialEq for CssClass
Auto Trait Implementations§
impl Forget for CssClass
impl Freeze for CssClass
impl Move for CssClass
impl RefUnwindSafe for CssClass
impl Send for CssClass
impl Sync for CssClass
impl Unpin for CssClass
impl UnsafeUnpin for CssClass
impl UnwindSafe for CssClass
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.