Enum valkyrie_ast::ImportKind
source · pub enum ImportKind {
Shared,
Private,
Test,
}Variants§
import!, share import item in all files under same namespace
Private
import, only usable in this file
Test
import* , enable only under the debug mode
Trait Implementations§
source§impl Clone for ImportKind
impl Clone for ImportKind
source§fn clone(&self) -> ImportKind
fn clone(&self) -> ImportKind
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 ImportKind
impl Debug for ImportKind
source§impl Hash for ImportKind
impl Hash for ImportKind
source§impl PartialEq for ImportKind
impl PartialEq for ImportKind
source§fn eq(&self, other: &ImportKind) -> bool
fn eq(&self, other: &ImportKind) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for ImportKind
impl Eq for ImportKind
impl StructuralPartialEq for ImportKind
Auto Trait Implementations§
impl RefUnwindSafe for ImportKind
impl Send for ImportKind
impl Sync for ImportKind
impl Unpin for ImportKind
impl UnwindSafe for ImportKind
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