pub struct LineComment {
pub text: String,
/* private fields */
}Fields§
§text: StringImplementations§
Trait Implementations§
Source§impl Debug for LineComment
impl Debug for LineComment
Source§impl PrettyTree for LineComment
impl PrettyTree for LineComment
Source§fn pretty_tree(&self) -> PrettyNode
fn pretty_tree(&self) -> PrettyNode
Builds the presentation node for this syntax value.
Source§impl<N> Reconstruct<N> for LineCommentwhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for LineCommentwhere
N: ExternalCstNode,
fn matches(node: &N) -> bool
fn reconstruct(node: N) -> Result<Self, ReconstructError>
Source§impl ToTokens for LineComment
impl ToTokens for LineComment
Auto Trait Implementations§
impl Freeze for LineComment
impl RefUnwindSafe for LineComment
impl Send for LineComment
impl Sync for LineComment
impl Unpin for LineComment
impl UnsafeUnpin for LineComment
impl UnwindSafe for LineComment
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