Enum ra_ap_syntax::ast::CommentPlacement
source · [−]pub enum CommentPlacement {
Inner,
Outer,
}
Variants
Inner
Outer
Trait Implementations
sourceimpl Clone for CommentPlacement
impl Clone for CommentPlacement
sourcefn clone(&self) -> CommentPlacement
fn clone(&self) -> CommentPlacement
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CommentPlacement
impl Debug for CommentPlacement
sourceimpl PartialEq<CommentPlacement> for CommentPlacement
impl PartialEq<CommentPlacement> for CommentPlacement
sourcefn eq(&self, other: &CommentPlacement) -> bool
fn eq(&self, other: &CommentPlacement) -> bool
impl Copy for CommentPlacement
impl Eq for CommentPlacement
impl StructuralEq for CommentPlacement
impl StructuralPartialEq for CommentPlacement
Auto Trait Implementations
impl RefUnwindSafe for CommentPlacement
impl Send for CommentPlacement
impl Sync for CommentPlacement
impl Unpin for CommentPlacement
impl UnwindSafe for CommentPlacement
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
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.