pub struct ByteSlice {
pub byte_start: usize,
pub byte_end: usize,
}Expand description
UTF-8 byte range [start, end).
Fields§
§byte_start: usize§byte_end: usizeTrait Implementations§
Source§impl<'de> Deserialize<'de> for ByteSlice
impl<'de> Deserialize<'de> for ByteSlice
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ByteSlice
impl RefUnwindSafe for ByteSlice
impl Send for ByteSlice
impl Sync for ByteSlice
impl Unpin for ByteSlice
impl UnsafeUnpin for ByteSlice
impl UnwindSafe for ByteSlice
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