pub enum ModifierTypes {
Show 14 variants
UnknownModifierType = 0,
Static = 1,
Public = 2,
Protected = 3,
Private = 4,
Abstract = 5,
Native = 6,
Constructor = 7,
Virtual = 8,
Internal = 9,
Final = 10,
Readonly = 11,
Module = 12,
Lambda = 13,
}
Variants§
UnknownModifierType = 0
Static = 1
The static modifier
Public = 2
The public modifier
Protected = 3
The protected modifier
Private = 4
The private modifier
Abstract = 5
The abstract modifier
Native = 6
The native modifier
Constructor = 7
The constructor modifier
Virtual = 8
The virtual modifier
Internal = 9
The internal modifier
Final = 10
The final modifier
Readonly = 11
The readonly modifier
Module = 12
Indicate that a method defines a module in the sense e.g. a python module does with the creation of a module object
Lambda = 13
Indicate that a method is an anonymous function, lambda, or closure
Trait Implementations§
Source§impl Clone for ModifierTypes
impl Clone for ModifierTypes
Source§fn clone(&self) -> ModifierTypes
fn clone(&self) -> ModifierTypes
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 ModifierTypes
impl Debug for ModifierTypes
Source§impl<'de> Deserialize<'de> for ModifierTypes
impl<'de> Deserialize<'de> for ModifierTypes
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 Hash for ModifierTypes
impl Hash for ModifierTypes
Source§impl Ord for ModifierTypes
impl Ord for ModifierTypes
Source§fn cmp(&self, other: &ModifierTypes) -> Ordering
fn cmp(&self, other: &ModifierTypes) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ModifierTypes
impl PartialEq for ModifierTypes
Source§impl PartialOrd for ModifierTypes
impl PartialOrd for ModifierTypes
Source§impl Serialize for ModifierTypes
impl Serialize for ModifierTypes
impl Copy for ModifierTypes
impl Eq for ModifierTypes
impl StructuralPartialEq for ModifierTypes
Auto Trait Implementations§
impl Freeze for ModifierTypes
impl RefUnwindSafe for ModifierTypes
impl Send for ModifierTypes
impl Sync for ModifierTypes
impl Unpin for ModifierTypes
impl UnwindSafe for ModifierTypes
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