Enum ra_ap_syntax::ast::CommentPlacement
source · pub enum CommentPlacement {
Inner,
Outer,
}
Variants§
Trait Implementations§
source§impl Clone for CommentPlacement
impl Clone for CommentPlacement
source§fn clone(&self) -> CommentPlacement
fn clone(&self) -> CommentPlacement
Returns a copy 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 CommentPlacement
impl Debug for CommentPlacement
source§impl PartialEq for CommentPlacement
impl PartialEq for CommentPlacement
source§fn eq(&self, other: &CommentPlacement) -> bool
fn eq(&self, other: &CommentPlacement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CommentPlacement
impl Eq for CommentPlacement
impl StructuralPartialEq for CommentPlacement
Auto Trait Implementations§
impl Freeze for CommentPlacement
impl RefUnwindSafe for CommentPlacement
impl Send for CommentPlacement
impl Sync for CommentPlacement
impl Unpin for CommentPlacement
impl UnwindSafe for CommentPlacement
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.