pub enum Modifier {
Show 18 variants
Public,
Private,
Internal,
Protected,
Abstract,
Async,
Const,
Event,
Extern,
New,
Override,
Partial,
Readonly,
Sealed,
Static,
Unsafe,
Virtual,
Volatile,
}Expand description
A Csharp modifier.
Variants§
Public
public
Private
private
Internal
internal
Protected
protected
Abstract
abstract
Async
async
Const
const
Event
event
Extern
extern
New
new
Override
override
Partial
partial
Readonly
readonly
Sealed
sealed
Static
static
Unsafe
unsafe
Virtual
virtual
Volatile
volatile
Implementations§
Trait Implementations§
Source§impl Ord for Modifier
impl Ord for Modifier
Source§impl PartialOrd for Modifier
impl PartialOrd for Modifier
impl Eq for Modifier
impl StructuralPartialEq for Modifier
Auto Trait Implementations§
impl Freeze for Modifier
impl RefUnwindSafe for Modifier
impl Send for Modifier
impl Sync for Modifier
impl Unpin for Modifier
impl UnwindSafe for Modifier
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