pub struct Comment {
pub span: Span,
}Fields
span: SpanTrait Implementations
sourceimpl From<Comment> for CommentedTokenTree
impl From<Comment> for CommentedTokenTree
sourceimpl PartialOrd<Comment> for Comment
impl PartialOrd<Comment> for Comment
sourcefn partial_cmp(&self, other: &Comment) -> Option<Ordering>
fn partial_cmp(&self, other: &Comment) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for Comment
impl StructuralEq for Comment
impl StructuralPartialEq for Comment
Auto Trait Implementations
impl RefUnwindSafe for Comment
impl Send for Comment
impl Sync for Comment
impl Unpin for Comment
impl UnwindSafe for Comment
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more