[][src]Struct azul_css_parser::ErrorLocation

pub struct ErrorLocation {
    pub original_pos: usize,
}

Fields

original_pos: usize

Implementations

impl ErrorLocation[src]

pub fn get_line_column_from_error(&self, css_string: &str) -> (usize, usize)[src]

Given an error location, returns the (line, column)

Trait Implementations

impl Clone for ErrorLocation[src]

impl Copy for ErrorLocation[src]

impl Debug for ErrorLocation[src]

impl Eq for ErrorLocation[src]

impl Hash for ErrorLocation[src]

impl Ord for ErrorLocation[src]

impl PartialEq<ErrorLocation> for ErrorLocation[src]

impl PartialOrd<ErrorLocation> for ErrorLocation[src]

impl StructuralEq for ErrorLocation[src]

impl StructuralPartialEq for ErrorLocation[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.