Struct cssparser::SourcePosition
[−]
[src]
pub struct SourcePosition { // some fields omitted }
A capture of the internal state of a Parser
(including the position within the input),
obtained from the Parser::position
method.
Can be used with the Parser::reset
method to restore that state.
Should only be used with the Parser
instance it came from.
Trait Implementations
impl Copy for SourcePosition
[src]
impl Clone for SourcePosition
[src]
fn clone(&self) -> SourcePosition
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 Debug for SourcePosition
[src]
impl Eq for SourcePosition
[src]
impl PartialEq for SourcePosition
[src]
fn eq(&self, __arg_0: &SourcePosition) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SourcePosition) -> bool
This method tests for !=
.