[−][src]Struct dprint_plugin_typescript::TypeScriptPlugin
TypeScript Dprint CLI Plugin.
Implementations
impl TypeScriptPlugin[src]
pub fn new() -> TypeScriptPlugin[src]
Trait Implementations
impl Plugin for TypeScriptPlugin[src]
fn name(&self) -> &'static str[src]
fn version(&self) -> &'static str[src]
fn config_keys(&self) -> Vec<String>[src]
fn initialize(
&mut self,
plugin_config: HashMap<String, String>,
global_config: &GlobalConfiguration
)[src]
&mut self,
plugin_config: HashMap<String, String>,
global_config: &GlobalConfiguration
)
fn should_format_file(&self, file_path: &PathBuf, _: &str) -> bool[src]
fn get_resolved_config(&self) -> String[src]
fn get_configuration_diagnostics(&self) -> &Vec<ConfigurationDiagnostic>[src]
fn format_text(
&self,
file_path: &PathBuf,
file_text: &str
) -> Result<String, String>[src]
&self,
file_path: &PathBuf,
file_text: &str
) -> Result<String, String>
Auto Trait Implementations
impl !RefUnwindSafe for TypeScriptPlugin
impl Send for TypeScriptPlugin
impl Sync for TypeScriptPlugin
impl Unpin for TypeScriptPlugin
impl UnwindSafe for TypeScriptPlugin
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Erased for T
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,