pub struct RawBlockView<'a> {
pub kind: RawBlockKind,
pub args: &'a [SetArg],
pub text: &'a str,
pub label: Option<&'a str>,
pub label_span: Option<&'a SourceSpan>,
pub span: &'a SourceSpan,
}Expand description
Borrowed view of an Item::RawBlock payload.
Fields§
§kind: RawBlockKind§args: &'a [SetArg]§text: &'a str§label: Option<&'a str>§label_span: Option<&'a SourceSpan>§span: &'a SourceSpanTrait Implementations§
Source§impl<'a> Clone for RawBlockView<'a>
impl<'a> Clone for RawBlockView<'a>
Source§fn clone(&self) -> RawBlockView<'a>
fn clone(&self) -> RawBlockView<'a>
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<'a> Debug for RawBlockView<'a>
impl<'a> Debug for RawBlockView<'a>
impl<'a> Copy for RawBlockView<'a>
Auto Trait Implementations§
impl<'a> Freeze for RawBlockView<'a>
impl<'a> RefUnwindSafe for RawBlockView<'a>
impl<'a> Send for RawBlockView<'a>
impl<'a> Sync for RawBlockView<'a>
impl<'a> Unpin for RawBlockView<'a>
impl<'a> UnsafeUnpin for RawBlockView<'a>
impl<'a> UnwindSafe for RawBlockView<'a>
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