Enum style::stylesheets::origin::Origin
[−]
[src]
#[repr(u8)]pub enum Origin { UserAgent, User, Author, }
Each style rule has an origin, which determines where it enters the cascade.
Variants
UserAgent
User
Author
Trait Implementations
impl Clone for Origin
[src]
fn clone(&self) -> Origin
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for Origin
[src]
impl Debug for Origin
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for Origin
[src]
impl PartialEq for Origin
[src]
fn eq(&self, __arg_0: &Origin) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl MallocSizeOf for Origin
[src]
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
[src]
Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself. Read more
impl From<Origin> for OriginSet
[src]
impl BitOrAssign<Origin> for OriginSet
[src]
fn bitor_assign(&mut self, origin: Origin)
[src]
Performs the |=
operation.