#[non_exhaustive]pub struct EditorContext {
pub bufferlist: Vec<String>,
pub global_vars: Vec<String>,
pub global_and_script_local_funcs: Vec<String>,
pub jumplist: Vec<String>,
pub registers: Vec<String>,
pub script_local_funcs: Vec<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.bufferlist: Vec<String>
§global_vars: Vec<String>
§global_and_script_local_funcs: Vec<String>
§jumplist: Vec<String>
§registers: Vec<String>
§script_local_funcs: Vec<String>
Implementations§
Source§impl EditorContext
impl EditorContext
pub fn builder() -> EditorContextBuilder
Trait Implementations§
Source§impl Clone for EditorContext
impl Clone for EditorContext
Source§fn clone(&self) -> EditorContext
fn clone(&self) -> EditorContext
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 EditorContext
impl Debug for EditorContext
Source§impl Default for EditorContext
impl Default for EditorContext
Source§fn default() -> EditorContext
fn default() -> EditorContext
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EditorContext
impl<'de> Deserialize<'de> for EditorContext
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 From<EditorContext> for Dictionary
impl From<EditorContext> for Dictionary
Source§fn from(ctx: EditorContext) -> Self
fn from(ctx: EditorContext) -> Self
Converts to this type from the input type.
Source§impl FromObject for EditorContext
impl FromObject for EditorContext
Source§impl PartialEq for EditorContext
impl PartialEq for EditorContext
impl Eq for EditorContext
impl StructuralPartialEq for EditorContext
Auto Trait Implementations§
impl Freeze for EditorContext
impl RefUnwindSafe for EditorContext
impl !Send for EditorContext
impl !Sync for EditorContext
impl Unpin for EditorContext
impl UnwindSafe for EditorContext
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