Struct EchoOptsBuilder
pub struct EchoOptsBuilder(EchoOpts);Tuple Fields§
§0: EchoOptsImplementations§
§impl EchoOptsBuilder
impl EchoOptsBuilder
pub fn data(&mut self, data: Dictionary) -> &mut EchoOptsBuilder
pub fn data(&mut self, data: Dictionary) -> &mut EchoOptsBuilder
Dictionary containing additional information.
pub fn err(&mut self, err: bool) -> &mut EchoOptsBuilder
pub fn err(&mut self, err: bool) -> &mut EchoOptsBuilder
Treat the message like :echoerr.
pub fn id<Id>(&mut self, id: Id) -> &mut EchoOptsBuilderwhere
Id: StringOrInt,
pub fn id<Id>(&mut self, id: Id) -> &mut EchoOptsBuilderwhere
Id: StringOrInt,
Message id for updating existing message.
pub fn kind<S>(&mut self, kind: S) -> &mut EchoOptsBuilderwhere
S: Into<String>,
pub fn kind<S>(&mut self, kind: S) -> &mut EchoOptsBuilderwhere
S: Into<String>,
Set the ui-messages kind with which this message will be emitted.
pub fn percent(&mut self, percent: u8) -> &mut EchoOptsBuilder
pub fn percent(&mut self, percent: u8) -> &mut EchoOptsBuilder
How much progress is done on the progress message.
pub fn status(&mut self, status: ProgressMessageStatus) -> &mut EchoOptsBuilder
pub fn status(&mut self, status: ProgressMessageStatus) -> &mut EchoOptsBuilder
The current status of the progress message.
pub fn title<S>(&mut self, title: S) -> &mut EchoOptsBuilderwhere
S: Into<String>,
pub fn title<S>(&mut self, title: S) -> &mut EchoOptsBuilderwhere
S: Into<String>,
The title of the progress message.
pub fn verbose(&mut self, verbose: bool) -> &mut EchoOptsBuilder
pub fn verbose(&mut self, verbose: bool) -> &mut EchoOptsBuilder
Message is controlled by the verbose option. Nvim invoked with
pub fn build(&mut self) -> EchoOpts
Trait Implementations§
§impl Clone for EchoOptsBuilder
impl Clone for EchoOptsBuilder
§fn clone(&self) -> EchoOptsBuilder
fn clone(&self) -> EchoOptsBuilder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Default for EchoOptsBuilder
impl Default for EchoOptsBuilder
§fn default() -> EchoOptsBuilder
fn default() -> EchoOptsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Send for EchoOptsBuilder
impl !Sync for EchoOptsBuilder
impl Freeze for EchoOptsBuilder
impl RefUnwindSafe for EchoOptsBuilder
impl Unpin for EchoOptsBuilder
impl UnsafeUnpin for EchoOptsBuilder
impl UnwindSafe for EchoOptsBuilder
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 more§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§type Error = Infallible
type Error = Infallible
The error type in the returned
Result.§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.