Struct MaybeSpan
pub struct MaybeSpan {
pub start: MaybePos,
pub end: MaybePos,
}Expand description
A start..end pair of MaybePos.
Fields§
§start: MaybePos§end: MaybePosImplementations§
Trait Implementations§
impl Copy for MaybeSpan
impl Eq for MaybeSpan
impl StructuralPartialEq for MaybeSpan
Auto Trait Implementations§
impl Freeze for MaybeSpan
impl RefUnwindSafe for MaybeSpan
impl Send for MaybeSpan
impl Sync for MaybeSpan
impl Unpin for MaybeSpan
impl UnsafeUnpin for MaybeSpan
impl UnwindSafe for MaybeSpan
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