pub enum CommentPosition {
Leading,
Trailing,
Inner,
}Variants§
Leading
Comment appears before the associated node
Trailing
Comment appears after the associated node (same line)
Inner
Comment appears inside a node (e.g., between statements)
Trait Implementations§
Source§impl Clone for CommentPosition
impl Clone for CommentPosition
Source§impl Debug for CommentPosition
impl Debug for CommentPosition
impl Eq for CommentPosition
Source§impl PartialEq for CommentPosition
impl PartialEq for CommentPosition
Source§impl Serialize for CommentPosition
impl Serialize for CommentPosition
impl StructuralPartialEq for CommentPosition
Auto Trait Implementations§
impl Freeze for CommentPosition
impl RefUnwindSafe for CommentPosition
impl Send for CommentPosition
impl Sync for CommentPosition
impl Unpin for CommentPosition
impl UnsafeUnpin for CommentPosition
impl UnwindSafe for CommentPosition
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