pub enum SmalltalkElementType {
Root,
MethodDefinition,
MessageSend,
Error,
}Expand description
Smalltalk element types.
Variants§
Trait Implementations§
Source§impl Clone for SmalltalkElementType
impl Clone for SmalltalkElementType
Source§fn clone(&self) -> SmalltalkElementType
fn clone(&self) -> SmalltalkElementType
Returns a duplicate 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 SmalltalkElementType
impl Debug for SmalltalkElementType
Source§impl<'de> Deserialize<'de> for SmalltalkElementType
impl<'de> Deserialize<'de> for SmalltalkElementType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl ElementType for SmalltalkElementType
impl ElementType for SmalltalkElementType
Source§type Role = UniversalElementRole
type Role = UniversalElementRole
The associated role type for this element kind.
Source§fn is_role(&self, role: Self::Role) -> bool
fn is_role(&self, role: Self::Role) -> bool
Returns true if this element matches the specified language-specific role.
Source§fn is_universal(&self, role: UniversalElementRole) -> bool
fn is_universal(&self, role: UniversalElementRole) -> bool
Returns true if this element matches the specified universal role.
Source§impl Hash for SmalltalkElementType
impl Hash for SmalltalkElementType
Source§impl PartialEq for SmalltalkElementType
impl PartialEq for SmalltalkElementType
Source§impl Serialize for SmalltalkElementType
impl Serialize for SmalltalkElementType
impl Copy for SmalltalkElementType
impl Eq for SmalltalkElementType
impl StructuralPartialEq for SmalltalkElementType
Auto Trait Implementations§
impl Freeze for SmalltalkElementType
impl RefUnwindSafe for SmalltalkElementType
impl Send for SmalltalkElementType
impl Sync for SmalltalkElementType
impl Unpin for SmalltalkElementType
impl UnsafeUnpin for SmalltalkElementType
impl UnwindSafe for SmalltalkElementType
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