pub enum LanguageScript {
Js,
Ts,
Python,
}Expand description
语言脚本,选择对应的语言脚本运行期
Variants§
Implementations§
Source§impl LanguageScript
impl LanguageScript
Sourcepub fn get_file_suffix(&self) -> &str
pub fn get_file_suffix(&self) -> &str
获取文件后缀
Trait Implementations§
Source§impl Clone for LanguageScript
impl Clone for LanguageScript
Source§fn clone(&self) -> LanguageScript
fn clone(&self) -> LanguageScript
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for LanguageScript
impl RefUnwindSafe for LanguageScript
impl Send for LanguageScript
impl Sync for LanguageScript
impl Unpin for LanguageScript
impl UnwindSafe for LanguageScript
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