pub struct BufferItems {Show 13 fields
pub line_ending: String,
pub tab_size: usize,
pub translate_tabs_to_spaces: bool,
pub use_tab_stops: bool,
pub font_face: String,
pub font_size: f32,
pub auto_indent: bool,
pub scroll_past_end: bool,
pub wrap_width: usize,
pub word_wrap: bool,
pub autodetect_whitespace: bool,
pub surrounding_pairs: Vec<(String, String)>,
pub save_with_newline: bool,
}
Expand description
The concrete type for buffer-related settings.
Fields§
§line_ending: String
§tab_size: usize
§translate_tabs_to_spaces: bool
§use_tab_stops: bool
§font_face: String
§font_size: f32
§auto_indent: bool
§scroll_past_end: bool
§wrap_width: usize
§word_wrap: bool
§autodetect_whitespace: bool
§surrounding_pairs: Vec<(String, String)>
§save_with_newline: bool
Trait Implementations§
Source§impl Clone for BufferItems
impl Clone for BufferItems
Source§fn clone(&self) -> BufferItems
fn clone(&self) -> BufferItems
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 BufferItems
impl Debug for BufferItems
Source§impl<'de> Deserialize<'de> for BufferItems
impl<'de> Deserialize<'de> for BufferItems
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 BufferItems
impl PartialEq for BufferItems
Source§impl Serialize for BufferItems
impl Serialize for BufferItems
impl StructuralPartialEq for BufferItems
Auto Trait Implementations§
impl Freeze for BufferItems
impl RefUnwindSafe for BufferItems
impl Send for BufferItems
impl Sync for BufferItems
impl Unpin for BufferItems
impl UnwindSafe for BufferItems
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