Struct nvim::api::AutocmdCallbackData
source · [−]pub struct AutocmdCallbackData {
pub id: i64,
pub event: String,
pub group: Option<i64>,
pub matc: Option<String>,
pub buf: i64,
pub file: Option<String>,
}Fields
id: i64event: Stringgroup: Option<i64>matc: Option<String>buf: i64file: Option<String>Trait Implementations
sourceimpl Clone for AutocmdCallbackData
impl Clone for AutocmdCallbackData
sourcefn clone(&self) -> AutocmdCallbackData
fn clone(&self) -> AutocmdCallbackData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for AutocmdCallbackData
impl Debug for AutocmdCallbackData
Auto Trait Implementations
impl RefUnwindSafe for AutocmdCallbackData
impl Send for AutocmdCallbackData
impl Sync for AutocmdCallbackData
impl Unpin for AutocmdCallbackData
impl UnwindSafe for AutocmdCallbackData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<'lua, T> FromLuaMulti<'lua> for T where
T: FromLua<'lua>,
impl<'lua, T> FromLuaMulti<'lua> for T where
T: FromLua<'lua>,
sourcefn from_lua_multi(values: MultiValue<'lua>, lua: &'lua Lua) -> Result<T, Error>
fn from_lua_multi(values: MultiValue<'lua>, lua: &'lua Lua) -> Result<T, Error>
Performs the conversion. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more