pub enum CommentMarker {
Hash,
Slash,
}Expand description
The marker that introduced a comment, preserved so a formatter can re-emit it faithfully.
Variants§
Trait Implementations§
Source§impl Clone for CommentMarker
impl Clone for CommentMarker
Source§fn clone(&self) -> CommentMarker
fn clone(&self) -> CommentMarker
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CommentMarker
Source§impl Debug for CommentMarker
impl Debug for CommentMarker
impl Eq for CommentMarker
Source§impl PartialEq for CommentMarker
impl PartialEq for CommentMarker
impl StructuralPartialEq for CommentMarker
Auto Trait Implementations§
impl Freeze for CommentMarker
impl RefUnwindSafe for CommentMarker
impl Send for CommentMarker
impl Sync for CommentMarker
impl Unpin for CommentMarker
impl UnsafeUnpin for CommentMarker
impl UnwindSafe for CommentMarker
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