Struct lalrpop_snap::style::Style
[−]
[src]
pub struct Style { /* fields omitted */ }
Methods
impl Style
[src]
fn new() -> Style
fn with(self, other_style: Style) -> Style
fn contains(self, other_style: Style) -> bool
fn apply<T: Terminal + ?Sized>(self, term: &mut T) -> Result<()>
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
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Default for Style
[src]
impl PartialEq for Style
[src]
fn eq(&self, __arg_0: &Style) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Style) -> bool
This method tests for !=
.