pub struct NoteBlock {
pub span_range: Range<usize>,
pub value: Literal,
}
Expand description
Represents a note block.
Fields§
§span_range: Range<usize>
The range of the span in the source text.
value: Literal
The literal value associated with the note block. It must be a string literal.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NoteBlock
impl RefUnwindSafe for NoteBlock
impl Send for NoteBlock
impl Sync for NoteBlock
impl Unpin for NoteBlock
impl UnwindSafe for NoteBlock
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