pub enum TsTarget {
EcmaScript(EcmaScriptTarget),
Latest,
}Expand description
TypeScript target metadata.
Variants§
EcmaScript(EcmaScriptTarget)
Latest
Trait Implementations§
Source§impl From<EcmaScriptTarget> for TsTarget
impl From<EcmaScriptTarget> for TsTarget
Source§fn from(value: EcmaScriptTarget) -> TsTarget
fn from(value: EcmaScriptTarget) -> TsTarget
Converts to this type from the input type.
Source§impl Ord for TsTarget
impl Ord for TsTarget
Source§impl PartialOrd for TsTarget
impl PartialOrd for TsTarget
impl Copy for TsTarget
impl Eq for TsTarget
impl StructuralPartialEq for TsTarget
Auto Trait Implementations§
impl Freeze for TsTarget
impl RefUnwindSafe for TsTarget
impl Send for TsTarget
impl Sync for TsTarget
impl Unpin for TsTarget
impl UnsafeUnpin for TsTarget
impl UnwindSafe for TsTarget
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