Struct sql_lexer::BufferSlice
source · pub struct BufferSlice {
pub start: usize,
pub end: usize,
}Fields§
§start: usize§end: usizeImplementations§
source§impl BufferSlice
impl BufferSlice
pub fn new(start: usize, end: usize) -> BufferSlice
Trait Implementations§
source§impl Debug for BufferSlice
impl Debug for BufferSlice
source§impl PartialEq<BufferSlice> for BufferSlice
impl PartialEq<BufferSlice> for BufferSlice
source§fn eq(&self, other: &BufferSlice) -> bool
fn eq(&self, other: &BufferSlice) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BufferSlice
Auto Trait Implementations§
impl RefUnwindSafe for BufferSlice
impl Send for BufferSlice
impl Sync for BufferSlice
impl Unpin for BufferSlice
impl UnwindSafe for BufferSlice
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