pub enum ModuleReferenceKind {
Use,
Require,
}Expand description
Statement kind for a parsed module reference.
Variants§
Trait Implementations§
Source§impl Clone for ModuleReferenceKind
impl Clone for ModuleReferenceKind
Source§fn clone(&self) -> ModuleReferenceKind
fn clone(&self) -> ModuleReferenceKind
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 ModuleReferenceKind
Source§impl Debug for ModuleReferenceKind
impl Debug for ModuleReferenceKind
impl Eq for ModuleReferenceKind
Source§impl PartialEq for ModuleReferenceKind
impl PartialEq for ModuleReferenceKind
Source§fn eq(&self, other: &ModuleReferenceKind) -> bool
fn eq(&self, other: &ModuleReferenceKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ModuleReferenceKind
Auto Trait Implementations§
impl Freeze for ModuleReferenceKind
impl RefUnwindSafe for ModuleReferenceKind
impl Send for ModuleReferenceKind
impl Sync for ModuleReferenceKind
impl Unpin for ModuleReferenceKind
impl UnsafeUnpin for ModuleReferenceKind
impl UnwindSafe for ModuleReferenceKind
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