Enum style::counter_style::Symbol
[−]
[src]
pub enum Symbol {
String(String),
Ident(String),
}Variants
String(String)Ident(String)Methods
impl Symbol[src]
pub fn is_allowed_in_symbols(&self) -> bool[src]
Returns whether this symbol is allowed in symbols() function.
Trait Implementations
impl Clone for Symbol[src]
fn clone(&self) -> Symbol[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 Debug for Symbol[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Eq for Symbol[src]
impl PartialEq for Symbol[src]
fn eq(&self, __arg_0: &Symbol) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Symbol) -> bool[src]
This method tests for !=.
impl ToComputedValue for Symbol[src]
type ComputedValue = Symbol
The computed value type we're going to be converted to.
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
Convert a specified value to a computed value, using itself and the data inside the Context. Read more
fn from_computed_value(computed: &Self::ComputedValue) -> Self[src]
Convert a computed value to specified value form. Read more
impl Parse for Symbol[src]
fn parse<'i, 't>(
_context: &ParserContext,
input: &mut Parser<'i, 't>
) -> Result<Self, ParseError<'i>>[src]
_context: &ParserContext,
input: &mut Parser<'i, 't>
) -> Result<Self, ParseError<'i>>
Parse a value of this type. Read more