pub struct SameLineComment {
pub pos: Pos,
pub leading_spaces: bool,
pub comment: Comment,
}
Fields§
§pos: Pos
§leading_spaces: bool
§comment: Comment
Trait Implementations§
Source§impl Clone for SameLineComment
impl Clone for SameLineComment
Source§fn clone(&self) -> SameLineComment
fn clone(&self) -> SameLineComment
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 SameLineComment
impl Debug for SameLineComment
Auto Trait Implementations§
impl Freeze for SameLineComment
impl RefUnwindSafe for SameLineComment
impl Send for SameLineComment
impl Sync for SameLineComment
impl Unpin for SameLineComment
impl UnwindSafe for SameLineComment
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