pub enum FrontendMode {
Check,
JavaScript,
Declaration,
}Expand description
The frontend product a caller wants produced for one source.
Variants§
Check
Scan, parse, and type-check only; no emit is produced.
JavaScript
Additionally emit runtime JavaScript with type-only syntax erased.
Declaration
Additionally emit a TypeScript declaration file.
Trait Implementations§
Source§impl Clone for FrontendMode
impl Clone for FrontendMode
Source§fn clone(&self) -> FrontendMode
fn clone(&self) -> FrontendMode
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 moreimpl Copy for FrontendMode
Source§impl Debug for FrontendMode
impl Debug for FrontendMode
impl Eq for FrontendMode
Source§impl Hash for FrontendMode
impl Hash for FrontendMode
Source§impl PartialEq for FrontendMode
impl PartialEq for FrontendMode
impl StructuralPartialEq for FrontendMode
Auto Trait Implementations§
impl Freeze for FrontendMode
impl RefUnwindSafe for FrontendMode
impl Send for FrontendMode
impl Sync for FrontendMode
impl Unpin for FrontendMode
impl UnsafeUnpin for FrontendMode
impl UnwindSafe for FrontendMode
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