pub struct FormatterPresetMetadata {
pub name: &'static str,
pub url: &'static str,
pub description: &'static str,
pub cmd: &'static str,
pub args: &'static [&'static str],
pub stdin: bool,
pub supported_languages: &'static [&'static str],
}Fields§
§name: &'static str§url: &'static str§description: &'static str§cmd: &'static str§args: &'static [&'static str]§stdin: bool§supported_languages: &'static [&'static str]Implementations§
Source§impl FormatterPresetMetadata
impl FormatterPresetMetadata
pub fn to_formatter_config(self) -> FormatterConfig
Trait Implementations§
Source§impl Clone for FormatterPresetMetadata
impl Clone for FormatterPresetMetadata
Source§fn clone(&self) -> FormatterPresetMetadata
fn clone(&self) -> FormatterPresetMetadata
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 moreSource§impl Debug for FormatterPresetMetadata
impl Debug for FormatterPresetMetadata
impl Copy for FormatterPresetMetadata
Auto Trait Implementations§
impl Freeze for FormatterPresetMetadata
impl RefUnwindSafe for FormatterPresetMetadata
impl Send for FormatterPresetMetadata
impl Sync for FormatterPresetMetadata
impl Unpin for FormatterPresetMetadata
impl UnsafeUnpin for FormatterPresetMetadata
impl UnwindSafe for FormatterPresetMetadata
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