pub struct HeredocRead {
pub content: String,
pub content_span: Span,
}Expand description
Result of reading a heredoc body from the source.
Fields§
§content: StringDecoded heredoc content.
content_span: SpanSource span covering the heredoc body content.
Trait Implementations§
Source§impl Clone for HeredocRead
impl Clone for HeredocRead
Source§fn clone(&self) -> HeredocRead
fn clone(&self) -> HeredocRead
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 HeredocRead
impl Debug for HeredocRead
Source§impl PartialEq for HeredocRead
impl PartialEq for HeredocRead
impl StructuralPartialEq for HeredocRead
Auto Trait Implementations§
impl Freeze for HeredocRead
impl RefUnwindSafe for HeredocRead
impl Send for HeredocRead
impl Sync for HeredocRead
impl Unpin for HeredocRead
impl UnsafeUnpin for HeredocRead
impl UnwindSafe for HeredocRead
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