Struct lalrpop::style::Style
[−]
[src]
pub struct Style { /* fields omitted */ }
Methods
impl Style
[src]
fn new() -> Style
[src]
fn with(self, other_style: Style) -> Style
[src]
fn contains(self, other_style: Style) -> bool
[src]
fn apply<T>(self, term: &mut T) -> Result<(), Error> where
T: Terminal + ?Sized,
[src]
T: Terminal + ?Sized,
Attempts to apply the given style to the given terminal. If the style is not supported, either there is no effect or else a similar, substitute style may be applied.
Trait Implementations
impl Copy for Style
[src]
impl Clone for Style
[src]
fn clone(&self) -> Style
[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 Eq for Style
[src]
impl PartialEq<Style> for Style
[src]
fn eq(&self, __arg_0: &Style) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Style) -> bool
[src]
This method tests for !=
.