[−][src]Enum casco::Item
Represents a single domain-specific item (either a property or a rule).
Variants
Property(D::Property)
Represents a parsed CSS-like property that started with a sequence of tokens which usually is the name, a color, another sequence of tokens which is usually the value and finally ended with a semicolon, prior to being parsed into a domain-specific representation.
Rule(D::Rule)
Represents a parsed CSS-like rule that started with a preamble that
usually contains the selectors and ended with a { ... }
delimited
group, prior to being parsed into a domain-specific representation.
Trait Implementations
impl<D, S> Debug for Item<D, S> where
D: Driver<S>,
S: TokenStream,
D::Property: Debug,
D::Rule: Debug,
[src]
D: Driver<S>,
S: TokenStream,
D::Property: Debug,
D::Rule: Debug,
Auto Trait Implementations
impl<D, S> RefUnwindSafe for Item<D, S> where
<D as Driver<S>>::Property: RefUnwindSafe,
<D as Driver<S>>::Rule: RefUnwindSafe,
<D as Driver<S>>::Property: RefUnwindSafe,
<D as Driver<S>>::Rule: RefUnwindSafe,
impl<D, S> Send for Item<D, S> where
<D as Driver<S>>::Property: Send,
<D as Driver<S>>::Rule: Send,
<D as Driver<S>>::Property: Send,
<D as Driver<S>>::Rule: Send,
impl<D, S> Sync for Item<D, S> where
<D as Driver<S>>::Property: Sync,
<D as Driver<S>>::Rule: Sync,
<D as Driver<S>>::Property: Sync,
<D as Driver<S>>::Rule: Sync,
impl<D, S> Unpin for Item<D, S> where
<D as Driver<S>>::Property: Unpin,
<D as Driver<S>>::Rule: Unpin,
<D as Driver<S>>::Property: Unpin,
<D as Driver<S>>::Rule: Unpin,
impl<D, S> UnwindSafe for Item<D, S> where
<D as Driver<S>>::Property: UnwindSafe,
<D as Driver<S>>::Rule: UnwindSafe,
<D as Driver<S>>::Property: UnwindSafe,
<D as Driver<S>>::Rule: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,