pub struct ExecAutocmdsOptsBuilder(/* private fields */);Implementations§
Source§impl ExecAutocmdsOptsBuilder
impl ExecAutocmdsOptsBuilder
Sourcepub fn buffer(&mut self, buffer: Buffer) -> &mut ExecAutocmdsOptsBuilder
pub fn buffer(&mut self, buffer: Buffer) -> &mut ExecAutocmdsOptsBuilder
A specific Buffer for buffer-local autocommands. Cannot be used
pub fn data<D>(&mut self, data: D) -> &mut ExecAutocmdsOptsBuilder
Sourcepub fn group<G>(&mut self, group: G) -> &mut ExecAutocmdsOptsBuilderwhere
G: StringOrInt,
pub fn group<G>(&mut self, group: G) -> &mut ExecAutocmdsOptsBuilderwhere
G: StringOrInt,
The autocommand group name or id to match against.
Sourcepub fn modeline(&mut self, modeline: bool) -> &mut ExecAutocmdsOptsBuilder
pub fn modeline(&mut self, modeline: bool) -> &mut ExecAutocmdsOptsBuilder
Whether to process the modeline after the autocommands.
Sourcepub fn patterns<P>(&mut self, patterns: P) -> &mut ExecAutocmdsOptsBuilderwhere
P: StringOrListOfStrings,
pub fn patterns<P>(&mut self, patterns: P) -> &mut ExecAutocmdsOptsBuilderwhere
P: StringOrListOfStrings,
Patterns to match against. Cannot be used together with
pub fn build(&mut self) -> ExecAutocmdsOpts
Trait Implementations§
Source§impl Clone for ExecAutocmdsOptsBuilder
impl Clone for ExecAutocmdsOptsBuilder
Source§fn clone(&self) -> ExecAutocmdsOptsBuilder
fn clone(&self) -> ExecAutocmdsOptsBuilder
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 Default for ExecAutocmdsOptsBuilder
impl Default for ExecAutocmdsOptsBuilder
Source§fn default() -> ExecAutocmdsOptsBuilder
fn default() -> ExecAutocmdsOptsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExecAutocmdsOptsBuilder
impl RefUnwindSafe for ExecAutocmdsOptsBuilder
impl !Send for ExecAutocmdsOptsBuilder
impl !Sync for ExecAutocmdsOptsBuilder
impl Unpin for ExecAutocmdsOptsBuilder
impl UnwindSafe for ExecAutocmdsOptsBuilder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
Source§type Error = Infallible
type Error = Infallible
The error type in the returned
Result.Source§fn into_result(self) -> Result<T, <T as IntoResult<T>>::Error>
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Error>
Converts the value into a
Result.