Struct deno_config::FmtOptionsConfig
source · pub struct FmtOptionsConfig {
pub use_tabs: Option<bool>,
pub line_width: Option<u32>,
pub indent_width: Option<u8>,
pub single_quote: Option<bool>,
pub prose_wrap: Option<ProseWrap>,
pub semi_colons: Option<bool>,
}
Fields§
§use_tabs: Option<bool>
§line_width: Option<u32>
§indent_width: Option<u8>
§single_quote: Option<bool>
§prose_wrap: Option<ProseWrap>
§semi_colons: Option<bool>
Implementations§
Trait Implementations§
source§impl Clone for FmtOptionsConfig
impl Clone for FmtOptionsConfig
source§fn clone(&self) -> FmtOptionsConfig
fn clone(&self) -> FmtOptionsConfig
Returns a copy 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 FmtOptionsConfig
impl Debug for FmtOptionsConfig
source§impl Default for FmtOptionsConfig
impl Default for FmtOptionsConfig
source§fn default() -> FmtOptionsConfig
fn default() -> FmtOptionsConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for FmtOptionsConfigwhere
FmtOptionsConfig: Default,
impl<'de> Deserialize<'de> for FmtOptionsConfigwhere
FmtOptionsConfig: Default,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for FmtOptionsConfig
impl PartialEq for FmtOptionsConfig
source§fn eq(&self, other: &FmtOptionsConfig) -> bool
fn eq(&self, other: &FmtOptionsConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for FmtOptionsConfig
impl Serialize for FmtOptionsConfig
impl StructuralPartialEq for FmtOptionsConfig
Auto Trait Implementations§
impl RefUnwindSafe for FmtOptionsConfig
impl Send for FmtOptionsConfig
impl Sync for FmtOptionsConfig
impl Unpin for FmtOptionsConfig
impl UnwindSafe for FmtOptionsConfig
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