pub struct ByteStart(pub usize);Expand description
ByteStart(byte_start)
Tuple Fields§
§0: usizeThe start (inclusive) byte positions.
Trait Implementations§
Source§impl From<LineColByteRange> for ByteStart
impl From<LineColByteRange> for ByteStart
Source§fn from(pos: LineColByteRange) -> Self
fn from(pos: LineColByteRange) -> Self
Converts to this type from the input type.
impl Copy for ByteStart
impl Eq for ByteStart
impl StructuralPartialEq for ByteStart
Auto Trait Implementations§
impl Freeze for ByteStart
impl RefUnwindSafe for ByteStart
impl Send for ByteStart
impl Sync for ByteStart
impl Unpin for ByteStart
impl UnwindSafe for ByteStart
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