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