pub enum StyleSheet {
External(Url),
Inline(CascadingStyleSheet),
}
Variants§
External(Url)
Inline(CascadingStyleSheet)
Trait Implementations§
Source§impl<'a> From<StyleSheet> for Node<'a>
impl<'a> From<StyleSheet> for Node<'a>
Source§fn from(value: StyleSheet) -> Self
fn from(value: StyleSheet) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StyleSheet
impl RefUnwindSafe for StyleSheet
impl Send for StyleSheet
impl Sync for StyleSheet
impl Unpin for StyleSheet
impl UnwindSafe for StyleSheet
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