pub struct Settings {
pub prefix_func: bool,
pub prefix_alias: bool,
pub prefix_class: bool,
pub prefix_type: bool,
pub expand_opt: bool,
pub layout: Layout,
pub indent_width: usize,
}
Fields§
§prefix_func: bool
Prefix function
name with ---@mod
name
prefix_alias: bool
Prefix ---@alias
tag with ---@mod/return
name
prefix_class: bool
Prefix ---@class
tag with ---@mod/return
name
prefix_type: bool
Prefix ---@type
tag with ---@mod
name
expand_opt: bool
Expand ?
to nil|<type>
layout: Layout
Vimdoc text layout
indent_width: usize
Controls the indent width
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Settings
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnwindSafe for Settings
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