pub struct BlockInfo {
pub kind: NodeKind,
pub start_byte: usize,
pub end_byte: usize,
pub start_point: Point,
pub end_point: Point,
pub text: String,
}Expand description
Information about a block-level element.
Fields§
§kind: NodeKind§start_byte: usize§end_byte: usize§start_point: Point§end_point: Point§text: StringThe raw text of this block.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BlockInfo
impl RefUnwindSafe for BlockInfo
impl Send for BlockInfo
impl Sync for BlockInfo
impl Unpin for BlockInfo
impl UnsafeUnpin for BlockInfo
impl UnwindSafe for BlockInfo
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