pub enum ExportKind {
Value,
Type,
Enum,
Namespace,
Class,
Function,
Default,
ReExport,
StarReExport,
}Expand description
What an export is.
Variants§
Value
const, let, var, and export { x } of anything not recognised below.
Type
interface and type aliases.
Enum
enum and const enum.
Namespace
TypeScript namespace/module.
Class
class.
Function
function.
Default
export default … (named default).
ReExport
export { a as b } from "x".
StarReExport
export * from "x" (named *) and export * as ns from "x" (named ns).
Trait Implementations§
Source§impl Clone for ExportKind
impl Clone for ExportKind
impl Copy for ExportKind
Source§impl Debug for ExportKind
impl Debug for ExportKind
Source§impl<'de> Deserialize<'de> for ExportKind
impl<'de> Deserialize<'de> for ExportKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ExportKind
Source§impl Hash for ExportKind
impl Hash for ExportKind
Source§impl PartialEq for ExportKind
impl PartialEq for ExportKind
Source§impl Serialize for ExportKind
impl Serialize for ExportKind
impl StructuralPartialEq for ExportKind
Auto Trait Implementations§
impl Forget for ExportKind
impl Freeze for ExportKind
impl Move for ExportKind
impl RefUnwindSafe for ExportKind
impl Send for ExportKind
impl Sync for ExportKind
impl Unpin for ExportKind
impl UnsafeUnpin for ExportKind
impl UnwindSafe for ExportKind
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more