#[repr(C)]pub struct CssSyntaxErrorPos {
pub row: usize,
pub col: usize,
}Expand description
FFI-safe position of a CSS syntax error.
Fields§
§row: usize§col: usizeTrait Implementations§
Source§impl Clone for CssSyntaxErrorPos
impl Clone for CssSyntaxErrorPos
Source§fn clone(&self) -> CssSyntaxErrorPos
fn clone(&self) -> CssSyntaxErrorPos
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CssSyntaxErrorPos
impl Debug for CssSyntaxErrorPos
Source§impl From<ErrorPos> for CssSyntaxErrorPos
impl From<ErrorPos> for CssSyntaxErrorPos
Source§impl PartialEq for CssSyntaxErrorPos
impl PartialEq for CssSyntaxErrorPos
Source§fn eq(&self, other: &CssSyntaxErrorPos) -> bool
fn eq(&self, other: &CssSyntaxErrorPos) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CssSyntaxErrorPos
impl StructuralPartialEq for CssSyntaxErrorPos
Auto Trait Implementations§
impl Freeze for CssSyntaxErrorPos
impl RefUnwindSafe for CssSyntaxErrorPos
impl Send for CssSyntaxErrorPos
impl Sync for CssSyntaxErrorPos
impl Unpin for CssSyntaxErrorPos
impl UnsafeUnpin for CssSyntaxErrorPos
impl UnwindSafe for CssSyntaxErrorPos
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more