pub struct Editor {Show 19 fields
pub current_directory: PathBuf,
pub session_name: String,
pub config: Config,
pub theme: Theme,
pub syntaxes: SyntaxCollection,
pub keymaps: KeyMapCollection,
pub mode: Mode,
pub buffers: BufferCollection,
pub buffer_views: BufferViewCollection,
pub word_database: WordDatabase,
pub buffered_keys: BufferedKeys,
pub recording_macro: Option<RegisterKey>,
pub registers: RegisterCollection,
pub picker: Picker,
pub string_pool: StringPool,
pub logger: Logger,
pub aux_pattern: Pattern,
pub commands: CommandManager,
pub events: EditorEventQueue,
/* private fields */
}
§commands: CommandManager
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.