Enum ink_analyzer_ir::ast::CommentShape
source · pub enum CommentShape {
Line,
Block,
}Variants§
Implementations§
Trait Implementations§
source§impl Clone for CommentShape
impl Clone for CommentShape
source§fn clone(&self) -> CommentShape
fn clone(&self) -> CommentShape
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 CommentShape
impl Debug for CommentShape
source§impl PartialEq for CommentShape
impl PartialEq for CommentShape
source§fn eq(&self, other: &CommentShape) -> bool
fn eq(&self, other: &CommentShape) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for CommentShape
impl Eq for CommentShape
impl StructuralEq for CommentShape
impl StructuralPartialEq for CommentShape
Auto Trait Implementations§
impl RefUnwindSafe for CommentShape
impl Send for CommentShape
impl Sync for CommentShape
impl Unpin for CommentShape
impl UnwindSafe for CommentShape
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.