pub enum DirectiveKind {
Show 14 variants
Export,
ExportPattern,
ExportClassPattern,
ExportClass,
ExportClasses,
ExportMethods,
Import,
ImportFrom,
ImportClassFrom,
ImportClassesFrom,
ImportMethodsFrom,
UseDynLib,
S3Method,
Unsupported,
}Expand description
R’s recognized namespace directive names.
Variants§
Export
ExportPattern
ExportClassPattern
ExportClass
ExportClasses
ExportMethods
Import
ImportFrom
ImportClassFrom
ImportClassesFrom
ImportMethodsFrom
UseDynLib
S3Method
Unsupported
A named directive call that this parser version does not support.
Implementations§
Trait Implementations§
Source§impl Clone for DirectiveKind
impl Clone for DirectiveKind
Source§fn clone(&self) -> DirectiveKind
fn clone(&self) -> DirectiveKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DirectiveKind
Source§impl Debug for DirectiveKind
impl Debug for DirectiveKind
impl Eq for DirectiveKind
Source§impl Hash for DirectiveKind
impl Hash for DirectiveKind
Source§impl PartialEq for DirectiveKind
impl PartialEq for DirectiveKind
impl StructuralPartialEq for DirectiveKind
Auto Trait Implementations§
impl Freeze for DirectiveKind
impl RefUnwindSafe for DirectiveKind
impl Send for DirectiveKind
impl Sync for DirectiveKind
impl Unpin for DirectiveKind
impl UnsafeUnpin for DirectiveKind
impl UnwindSafe for DirectiveKind
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