pub struct RelativeSpan { /* private fields */ }Expand description
Byte span relative to a local base offset.
Implementations§
Trait Implementations§
Source§impl Clone for RelativeSpan
impl Clone for RelativeSpan
Source§fn clone(&self) -> RelativeSpan
fn clone(&self) -> RelativeSpan
Returns a duplicate of the value. Read more
1.0.0 · 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 RelativeSpan
impl Debug for RelativeSpan
Source§impl<'de> Deserialize<'de> for RelativeSpan
impl<'de> Deserialize<'de> for RelativeSpan
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
Source§impl Hash for RelativeSpan
impl Hash for RelativeSpan
Source§impl PartialEq for RelativeSpan
impl PartialEq for RelativeSpan
Source§impl Serialize for RelativeSpan
impl Serialize for RelativeSpan
impl Eq for RelativeSpan
impl StructuralPartialEq for RelativeSpan
Auto Trait Implementations§
impl Freeze for RelativeSpan
impl RefUnwindSafe for RelativeSpan
impl Send for RelativeSpan
impl Sync for RelativeSpan
impl Unpin for RelativeSpan
impl UnsafeUnpin for RelativeSpan
impl UnwindSafe for RelativeSpan
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