pub struct BlockSpan {
pub start: u32,
pub end: u32,
}Expand description
Resolved 1-indexed inclusive line span of a replace_block N: target.
(block-ops feature — future)
Fields§
§start: u32First line of the resolved span (inclusive).
end: u32Last line of the resolved span (inclusive).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BlockSpan
impl RefUnwindSafe for BlockSpan
impl Send for BlockSpan
impl Sync for BlockSpan
impl Unpin for BlockSpan
impl UnsafeUnpin for BlockSpan
impl UnwindSafe for BlockSpan
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