#[non_exhaustive]pub enum ExportDeclarationKind {
Default,
Optional,
Tag,
}Expand description
Export declaration category.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for ExportDeclarationKind
impl Clone for ExportDeclarationKind
Source§fn clone(&self) -> ExportDeclarationKind
fn clone(&self) -> ExportDeclarationKind
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 moreSource§impl Debug for ExportDeclarationKind
impl Debug for ExportDeclarationKind
Source§impl Hash for ExportDeclarationKind
impl Hash for ExportDeclarationKind
Source§impl PartialEq for ExportDeclarationKind
impl PartialEq for ExportDeclarationKind
Source§fn eq(&self, other: &ExportDeclarationKind) -> bool
fn eq(&self, other: &ExportDeclarationKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ExportDeclarationKind
impl Eq for ExportDeclarationKind
impl StructuralPartialEq for ExportDeclarationKind
Auto Trait Implementations§
impl Freeze for ExportDeclarationKind
impl RefUnwindSafe for ExportDeclarationKind
impl Send for ExportDeclarationKind
impl Sync for ExportDeclarationKind
impl Unpin for ExportDeclarationKind
impl UnsafeUnpin for ExportDeclarationKind
impl UnwindSafe for ExportDeclarationKind
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