pub enum TsExportAssignmentField {
Span,
Expr,
}
Expand description
This enum represents fields of TsExportAssignmentField
Variants§
Implementations§
Trait Implementations§
source§impl Clone for TsExportAssignmentField
impl Clone for TsExportAssignmentField
source§fn clone(&self) -> TsExportAssignmentField
fn clone(&self) -> TsExportAssignmentField
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 TsExportAssignmentField
impl Debug for TsExportAssignmentField
source§impl<'de> Deserialize<'de> for TsExportAssignmentField
impl<'de> Deserialize<'de> for TsExportAssignmentField
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
source§impl Hash for TsExportAssignmentField
impl Hash for TsExportAssignmentField
source§impl Ord for TsExportAssignmentField
impl Ord for TsExportAssignmentField
source§fn cmp(&self, other: &TsExportAssignmentField) -> Ordering
fn cmp(&self, other: &TsExportAssignmentField) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for TsExportAssignmentField
impl PartialEq for TsExportAssignmentField
source§fn eq(&self, other: &TsExportAssignmentField) -> bool
fn eq(&self, other: &TsExportAssignmentField) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for TsExportAssignmentField
impl PartialOrd for TsExportAssignmentField
source§fn partial_cmp(&self, other: &TsExportAssignmentField) -> Option<Ordering>
fn partial_cmp(&self, other: &TsExportAssignmentField) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for TsExportAssignmentField
impl Serialize for TsExportAssignmentField
impl Copy for TsExportAssignmentField
impl Eq for TsExportAssignmentField
impl StructuralPartialEq for TsExportAssignmentField
Auto Trait Implementations§
impl Freeze for TsExportAssignmentField
impl RefUnwindSafe for TsExportAssignmentField
impl Send for TsExportAssignmentField
impl Sync for TsExportAssignmentField
impl Unpin for TsExportAssignmentField
impl UnwindSafe for TsExportAssignmentField
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